{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kaptionai-com/json-schema/kaptionai-com-json-rpc-request-schema.json",
  "title": "JsonRpcRequest",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kaptionai-com-openapi.json#/components/schemas/JsonRpcRequest",
  "type": "object",
  "required": [
    "jsonrpc",
    "method"
  ],
  "properties": {
    "jsonrpc": {
      "const": "2.0"
    },
    "id": {
      "type": [
        "string",
        "integer"
      ]
    },
    "method": {
      "type": "string"
    },
    "params": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Tool name, for tools/call.",
          "enum": [
            "query",
            "list_contacts",
            "get_contact",
            "get_contact_groups",
            "list_groups",
            "get_group",
            "export_contacts",
            "download_media",
            "get_analytics",
            "summarize_conversation",
            "manage_chat",
            "manage_reminders",
            "manage_lists",
            "manage_labels",
            "manage_notes",
            "manage_scheduled_messages",
            "send_message",
            "call_recordings"
          ]
        },
        "arguments": {
          "type": "object",
          "description": "Tool arguments. Get each tool's input schema from tools/list."
        }
      }
    }
  }
}