{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oqda-de/json-schema/oqda-de-json-rpc-anfrage-schema.json",
  "title": "JsonRpcAnfrage",
  "description": "JSON-RPC-2.0-Nachricht an den MCP-Server. Ohne id = Benachrichtigung (Antwort 202).",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oqda-de-openapi.json#/components/schemas/JsonRpcAnfrage",
  "type": "object",
  "required": [
    "jsonrpc",
    "method"
  ],
  "properties": {
    "jsonrpc": {
      "type": "string",
      "const": "2.0"
    },
    "id": {
      "type": [
        "string",
        "integer"
      ]
    },
    "method": {
      "type": "string"
    },
    "params": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Werkzeug bei tools/call."
        },
        "arguments": {
          "type": "object"
        },
        "_meta": {
          "type": "object",
          "description": "Ab 2026-07-28 Pflicht: io.modelcontextprotocol/protocolVersion und io.modelcontextprotocol/clientCapabilities."
        }
      }
    }
  }
}