Find availability
find_availabilityFind open appointment slots for a service within a date range, optionally restricted to a specific provider.
Instructions
Find open appointment slots for a service in a date range (inclusive). Dates are YYYY-MM-DD. Optionally restrict to one providerId. Returns startable times with the matching provider.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serviceId": "<serviceId>",
"from": "<from>",
"to": "<to>"
},
"name": "find_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End date YYYY-MM-DD (inclusive) | |
| from | Yes | Start date YYYY-MM-DD | |
| limit | No | Max slots to return (default 50) | |
| serviceId | Yes | Service id from list_services | |
| providerId | No | Restrict to this provider id |