{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/a-upgradenet-com/json-schema/a-upgradenet-com-json-rpc-response-schema.json",
  "title": "JsonRpcResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/a-upgradenet-com-openapi.json#/components/schemas/JsonRpcResponse",
  "type": "object",
  "required": [
    "jsonrpc",
    "id"
  ],
  "properties": {
    "jsonrpc": {
      "type": "string",
      "const": "2.0"
    },
    "id": {
      "description": "JSON-RPC request id. Omit it to send a notification (answered with 202).",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        }
      ]
    },
    "result": {
      "type": "object",
      "description": "For `tools/call`: `{ content: [{ type: \"text\", text: <JSON string> }], isError: boolean }`. The text is the tool output serialized as JSON."
    },
    "error": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "integer"
        },
        "message": {
          "type": "string"
        },
        "data": {}
      }
    }
  }
}