Get Price Offer
get_price_offerRetrieve a price offer for a specific train connection by providing the connection identifier and passenger details.
Instructions
Get a price offer for a specific connection. Note: Prices are already included in connection search results, so this separate endpoint is not available with the mobile API.
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": {
"connectionId": "<connectionId>",
"passengers": "<passengers>"
},
"name": "get_price_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| passengers | Yes | Array of passenger types and counts | |
| connectionId | Yes | Connection identifier from search results |