Skip to main content
rpc calls one @rpc method on the instance with its arguments and prints the result as JSON. An argument that parses as JSON is passed as JSON, anything else as a string. The methods below are the managed loop’s; a code-based class answers only what it decorates with @rpc. approve, deny, inspectApproval and pendingApproval are for dev, through --local: a tool marked ask pauses the run there and approve resumes it. On the deployed agent such a run pauses too, but the platform keeps no approval to decide yet, so these four answer nothing useful until that lands (Beta Limitations). The RPC Methods is where each lands in the managed harness.