Logistics: Update trip
logistics_update_tripEdit a trip's route, economics and times — from/to points, distance, cost, the carrier rate per ton, payment form and payment status, the licence/gate-pass number, the planned loading window, actual arrival at loading, and departure/arrival times. Send ONLY what you are changing; the server merges onto the current trip. This tool does NOT move the status (use logistics_set_trip_status), does NOT change the crew (use logistics_assign_trip) and does NOT record weights (use logistics_record_trip_weights). 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": {
"trip_id": "<trip_id>"
},
"name": "logistics_update_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| trip_id | Yes | ||
| cargo_id | No | ||
| to_point | No | ||
| arrive_at | No | ISO date (YYYY-MM-DD) or datetime. | |
| depart_at | No | ISO date (YYYY-MM-DD) or datetime. | |
| from_point | No | ||
| distance_km | No | ||
| payment_form | No | ||
| license_number | No | ||
| carrier_rate_per_ton | No | ||
| carrier_payment_status | No | One of: NotPaid, Partial, Paid. | |
| actual_arrival_at_loading | No | ISO date (YYYY-MM-DD) or datetime. | |
| planned_loading_window_end | No | ISO date (YYYY-MM-DD) or datetime. | |
| planned_loading_window_start | No | ISO date (YYYY-MM-DD) or datetime. |