List appointments
list_appointmentsRetrieve confirmed appointments within a given date range. Returns an empty list if none exist, distinguishing from errors.
Instructions
List confirmed appointments between date_from and date_to (inclusive).
date_to must be on or after date_from. Empty list with status=ok means no
confirmed appointments in that window — distinct from a database failure,
which raises a tool error.
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": {
"date_from": "<date_from>",
"date_to": "<date_to>"
},
"name": "list_appointments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | Yes | Inclusive range end (YYYY-MM-DD), clinic local calendar. | |
| date_from | Yes | Inclusive range start (YYYY-MM-DD), clinic local calendar. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| status | No | ok | |
| date_to | Yes | ||
| date_from | Yes | ||
| appointments | Yes |