{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ifreework-com/json-schema/ifreework-com-json-rpc-response-schema.json",
  "title": "JsonRpcResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ifreework-com-openapi.json#/components/schemas/JsonRpcResponse",
  "type": "object",
  "required": [
    "jsonrpc"
  ],
  "properties": {
    "jsonrpc": {
      "type": "string",
      "enum": [
        "2.0"
      ]
    },
    "id": {
      "type": [
        "integer",
        "string",
        "null"
      ]
    },
    "result": {
      "type": "object",
      "description": "For tools/call: content[] with text and structuredContent."
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "integer"
        },
        "message": {
          "type": "string"
        }
      }
    }
  }
}