{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/locationlists-com/json-schema/locationlists-com-post-mcp-request-schema.json",
  "title": "PostMcpRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/locationlists-com-openapi-generated.yml#/components/schemas/PostMcpRequest",
  "type": "object",
  "properties": {
    "jsonrpc": {
      "type": "string",
      "description": "JSON‑RPC version, e.g. \"2.0\""
    },
    "id": {
      "type": "integer",
      "description": "Request identifier"
    },
    "method": {
      "type": "string",
      "description": "Always \"tools/call\" for MCP calls"
    },
    "params": {
      "type": "object",
      "description": "Contains the tool name and its arguments"
    },
    "params.name": {
      "type": "string",
      "description": "Tool to invoke, e.g. \"count_locations\" or \"query_locations\""
    },
    "params.arguments": {
      "type": "object",
      "description": "Arguments for the chosen tool (same fields as the tool’s API, such as dataset, state, city, near, total, etc.)"
    }
  },
  "required": [
    "jsonrpc",
    "id",
    "method",
    "params",
    "params.name"
  ]
}