Schedule a visit
schedule_visitCreates a scheduled visit for an agency client (agency_events type scheduled, status scheduled). Pass scheduledFor as an ISO-8601 datetime or Unix milliseconds. The visit appears in list_visits. This is a write. Notes may be health-related.
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": {
"clientId": "<clientId>",
"scheduledFor": "<scheduledFor>",
"title": "<title>"
},
"name": "schedule_visit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional visit notes, max 4000 chars. | |
| title | Yes | Short title, max 120 chars. | |
| agencyId | No | ||
| clientId | Yes | Agency client id from list_clients. | |
| scheduledFor | Yes | When the visit should happen. ISO-8601 string or Unix milliseconds. Stored as scheduledAt on the visit. |