Create a new function rpc_set_context_args where we parse and set the context