vehicle_by_id
Retrieve the current location of a specific public transport vehicle in the GZM region using its ID, label, or entity ID.
Instructions
Get a single vehicle's current position by its vehicle id or label (e.g. fleet number painted on the bus, or the entity id from a previous vehicles() call).
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": {
"vehicle_id": "<vehicle_id>"
},
"name": "vehicle_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vehicle_id | Yes | Vehicle label, internal id, or entity id. |