{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/leanscale-team/json-schema/leanscale-team-json-rpc-request-schema.json",
  "title": "JsonRpcRequest",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/leanscale-team-openapi.yml#/components/schemas/JsonRpcRequest",
  "type": "object",
  "required": [
    "jsonrpc",
    "method"
  ],
  "properties": {
    "jsonrpc": {
      "type": "string",
      "const": "2.0"
    },
    "id": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "description": "Omit for notifications."
    },
    "method": {
      "type": "string",
      "description": "MCP method name.",
      "enum": [
        "initialize",
        "ping",
        "tools/list",
        "tools/call",
        "resources/list",
        "resources/read",
        "prompts/list",
        "notifications/initialized",
        "notifications/cancelled"
      ]
    },
    "params": {
      "type": "object",
      "description": "Method parameters. Shape depends on `method`."
    }
  }
}