plan_transfer
PAID (x402 exact/EVM, 1 USDC-cent per call). Re-plan a journey for a traveller already on a delayed train: per-stop transfer buffer, onward connections with arrival times, and one safe recommendation. Call it without payment to receive the PaymentRequired object; retry with the payment payload in params._meta['x402/payment'].
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>",
"to": "<to>"
},
"name": "plan_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination station id from search_stations. Accepts `stop_id` (the stop_id field from search_stations) or `provider_stop_id` (the provider_stop_id field from search_stations). The eva field is NOT accepted. | |
| trip_id | Yes | trip_id from departures. | |
| min_buffer | No | Minimum transfer buffer in minutes. | |
| manual_delay | No | Known delay in minutes, if the feed has none. |