Logistics: Create driver
logistics_create_driverCreate a driver profile (водій). The name is stored in three parts — 'last_name', 'first_name' and 'patronymic' are all required. 'phone1' and 'driver_license' are what a dispatcher actually needs; 'carrier_id' ties the driver to a carrier, 'default_vehicle_id' to their usual tractor, 'user_id' to an existing cabinet login when they have one. 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": {
"last_name": "<last_name>",
"first_name": "<first_name>",
"patronymic": "<patronymic>"
},
"name": "logistics_create_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 | ||
| last_name | Yes | ||
| birth_date | No | ||
| carrier_id | No | ||
| first_name | Yes | ||
| patronymic | Yes | ||
| 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 |