{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/TaskRunCommandRequest", "title": "TaskRunCommandRequest", "type": "object", "description": "JSON-RPC request to send a command to the agent server in the sandbox.", "properties": { "jsonrpc": { "allOf": [ { "$ref": "#/components/schemas/JsonrpcEnum" } ], "description": "JSON-RPC version, must be '2.0'\n\n* `2.0` - 2.0" }, "method": { "allOf": [ { "$ref": "#/components/schemas/MethodEnum" } ], "description": "Command method to execute on the agent server\n\n* `user_message` - user_message\n* `cancel` - cancel\n* `close` - close\n* `permission_response` - permission_response\n* `set_config_option` - set_config_option" }, "params": { "type": "object", "additionalProperties": true, "description": "Parameters for the command" }, "id": { "description": "Optional JSON-RPC request ID (string or number)" } }, "required": [ "jsonrpc", "method" ] }