{
  "tools": [
    {
      "name": "find_availability",
      "description": "Find open slots for a service from local businesses in an area.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "service": {
            "type": "string",
            "description": "What the customer needs, in plain words."
          },
          "area": {
            "type": "string",
            "description": "The town, district or postcode to search in."
          },
          "window": {
            "type": "object",
            "description": "The earliest and latest start times the customer can accept."
          }
        },
        "required": [
          "service",
          "area",
          "window"
        ]
      },
      "request": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "tools/call",
        "params": {
          "name": "find_availability",
          "arguments": {
            "service": "leaking kitchen tap",
            "area": "Rathmines, Dublin 6",
            "window": {
              "from": "2026-10-05T08:00:00+01:00",
              "to": "2026-10-05T12:00:00+01:00"
            }
          }
        }
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 1,
        "result": {
          "structuredContent": {
            "results": [
              {
                "business": "Byrne Plumbing",
                "slot_id": "slt_5512",
                "start": "2026-10-05T09:30:00+01:00",
                "typical_price": "€80–€120 call-out"
              },
              {
                "business": "Ranelagh Heating & Plumbing",
                "slot_id": "slt_7740",
                "start": "2026-10-05T11:00:00+01:00",
                "typical_price": "€95 call-out"
              }
            ]
          },
          "isError": false
        }
      }
    }
  ]
}
