Logistics: Update driver
logistics_update_driverEdit a driver profile — contacts, licence, documents, carrier, default vehicle, status (Free / OnTrip / DayOff) or rating. Send only what changes; the server merges onto the current profile. Requires confirmation. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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>"
},
"name": "logistics_update_driver"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone1 | No | ||
| phone2 | No | ||
| phone3 | No | ||
| rating | No | ||
| status | No | One of: Free, OnTrip, DayOff. | |
| user_id | No | ||
| driver_id | Yes | ||
| last_name | No | ||
| birth_date | No | ||
| carrier_id | No | ||
| first_name | No | ||
| patronymic | No | ||
| birth_place | No | ||
| passport_type | No | One of: Booklet, IdCard. Booklet has a series; an ID-card has an expiry and a УНЗР record number. | |
| tax_id_number | No | ||
| driver_license | No | ||
| passport_number | No | ||
| passport_series | No | ||
| default_vehicle_id | No | ||
| license_categories | No | ||
| passport_authority | No | ||
| passport_issued_at | No | ||
| medical_certificate | No | ||
| passport_expires_at | No | ||
| registration_address | No | ||
| passport_record_number | No | ||
| driver_license_authority | No | ||
| driver_license_issued_at | No | ||
| driver_license_expires_at | No |