create_visit
Book a technician on a job for a specific time window, with optional notes. Fails if the technician is already booked during that window.
Instructions
Book a technician on a job for a time window. Fails if the technician is already booked then.
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": {
"job_id": "<job_id>",
"technician_id": "<technician_id>",
"start": "<start>",
"end": "<end>"
},
"name": "create_visit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Local end, no UTC offset, after start | |
| notes | No | ||
| start | Yes | Local start, no UTC offset, e.g. 2030-01-07T09:00:00 | |
| job_id | Yes | ||
| technician_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| end | Yes | ||
| notes | No | ||
| start | Yes | ||
| job_id | Yes | ||
| status | Yes | ||
| technician_id | Yes |