{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bubblio-dev/json-schema/bubblio-dev-json-rpc-request-schema.json",
  "title": "JsonRpcRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bubblio-dev-openapi.yaml#/components/schemas/JsonRpcRequest",
  "type": "object",
  "required": [
    "jsonrpc",
    "method"
  ],
  "properties": {
    "jsonrpc": {
      "type": "string",
      "const": "2.0"
    },
    "id": {
      "type": [
        "string",
        "number",
        "null"
      ],
      "description": "Omit entirely for a notification (answered 202, no body)."
    },
    "method": {
      "type": "string",
      "enum": [
        "initialize",
        "ping",
        "tools/list",
        "tools/call"
      ]
    },
    "params": {
      "type": "object",
      "description": "For tools/call: { name, arguments }."
    }
  }
}