{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TaskRunCommandResponse",
  "title": "TaskRunCommandResponse",
  "type": "object",
  "description": "Response from the agent server command endpoint.",
  "properties": {
    "jsonrpc": {
      "type": "string",
      "description": "JSON-RPC version"
    },
    "id": {
      "description": "Request ID echoed back (string or number)"
    },
    "result": {
      "type": "object",
      "additionalProperties": true,
      "description": "Command result on success"
    },
    "error": {
      "type": "object",
      "additionalProperties": true,
      "description": "Error details on failure"
    }
  },
  "required": [
    "jsonrpc"
  ]
}