{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eden-so/json-schema/eden-so-json-rpc-request-schema.json",
  "title": "JsonRpcRequest",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eden-so-openapi.json#/components/schemas/JsonRpcRequest",
  "type": "object",
  "required": [
    "jsonrpc",
    "method"
  ],
  "properties": {
    "jsonrpc": {
      "type": "string",
      "const": "2.0"
    },
    "id": {
      "type": [
        "string",
        "number"
      ]
    },
    "method": {
      "type": "string",
      "description": "MCP method, e.g. `initialize`, `tools/list`, `tools/call`."
    },
    "params": {
      "type": "object",
      "description": "For `tools/call`: `{ name, arguments }` where `name` is one of the tools listed in the top-level `x-mcp.tools`."
    }
  }
}