update_driver_availability
Replace a driver's entire weekly availability schedule at once. Provide driver ID and a new set of day-specific time entries to keep cab dispatch accurate.
Instructions
Replace a driver's entire weekly schedule. All existing entries are replaced.
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": {
"driver_id": "<driver_id>",
"schedule": "<schedule>"
},
"name": "update_driver_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule | Yes | Array of weekly schedule entries | |
| driver_id | Yes | Driver ID |