find_station
Search for train stations in a Spanish city and retrieve their IDs and names for Renfe journey planning.
Instructions
Search for train stations in a city and return matching options.
Useful for checking what stations are available in a city before searching for journeys.
Args: city_name: City name to search for (e.g., "Madrid", "Barcelona", "Valencia") api_key: API key for authentication (optional if configured via environment)
Returns: A formatted string showing all matching stations with their IDs and full names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city_name | Yes | ||
| api_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |