Get free appointment slots
ghl_get_free_slotsRetrieve available booking slots for a calendar by specifying calendar ID and date range in epoch milliseconds.
Instructions
Get available booking slots for a calendar within a date range. startDate and endDate are epoch milliseconds.
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": {
"calendarId": "<calendarId>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "ghl_get_free_slots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | Range end as epoch milliseconds. | |
| timezone | No | IANA timezone, e.g. America/New_York. | |
| startDate | Yes | Range start as epoch milliseconds (e.g. Date.now()). | |
| calendarId | Yes |