trip_cost
Cost one trip through a zone: daily rate x days, plus the penalty if it went unpaid. Returns chargeable=false when that vehicle class is not charged, and lists the zones where it would be.
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": {
"zone": "<zone>"
},
"name": "trip_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Chargeable days, 1..365 | |
| zone | Yes | ||
| unpaid | No | Include the Penalty Charge Notice amount | |
| vehicle | No | car, motorcycle, van, minibus, taxi, hgv, bus or coach |