Skip to main content

Get Free Slots

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

GETghl.get_free_slots

Get available time slots for booking appointments on a specific calendar

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-get-free-slots-example",
"method": "tools/call",
"params": {
"name": "ghl.get_free_slots",
"arguments": {
"calendarId": "calendarId_123",
"startDate": "startDate_example",
"endDate": "endDate_example",
"tenantId": "tenantId_123",
"timezone": "timezone_example",
"userId": "userId_123"
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"calendarId": {
"type": "string"
},
"startDate": {
"type": "string"
},
"endDate": {
"type": "string"
},
"timezone": {
"type": "string"
},
"userId": {
"type": "string"
}
},
"required": [
"calendarId",
"startDate",
"endDate"
]
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-get-free-slots-example",
"method": "tools/call",
"params": {
"name": "ghl.get_free_slots",
"arguments": {
"calendarId": "calendarId_123",
"startDate": "startDate_example",
"endDate": "endDate_example",
"tenantId": "tenantId_123",
"timezone": "timezone_example",
"userId": "userId_123"
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.get_free_slots executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}