Client visit history
customer_visit_historyRetrieves past and future appointments for a specified client, with pagination, state filtering, and optional cache bypass.
Instructions
Past and future appointments of one client.
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": {
"customerId": "<customerId>"
},
"name": "customer_visit_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, from 1 | |
| fresh | No | Skip the local cache | |
| state | No | Only visits in this state | |
| per_page | No | Items per page, at most 100 | |
| customerId | Yes | Client id | |
| include_extra_bookings | No | Also visits outside the main list |