Petrol station details
get_station_detailsEverything about one petrol station: every fuel's current price, opening hours, address and links.
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": {
"station_id": "<station_id>"
},
"name": "get_station_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Optional: the user's latitude, for the distance. | |
| lng | No | Optional: the user's longitude. | |
| station_id | Yes | Station id from another TankoUp tool, like 'ES-3213'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| lat | Yes | ||
| lng | Yes | ||
| name | Yes | ||
| town | Yes | ||
| brand | Yes | ||
| prices | Yes | ||
| address | Yes | ||
| open_now | Yes | null when the opening hours are unknown. | |
| province | Yes | ||
| distance_km | Yes | From the given lat/lng, straight line. null without them. | |
| tankoup_url | Yes | ||
| app_store_url | No | The TankoUp app for iPhone. | https://apps.apple.com/es/app/tankoup/id6789885475 |
| opening_hours | Yes | null when unknown. | |
| directions_url | Yes | ||
| google_play_url | No | The TankoUp app for Android. | https://play.google.com/store/apps/details?id=com.tankoup.app&referrer=utm_source%3Dmcp%26utm_medium%3Dassistant |