STEP 1 — Always call this first. Converts free-text city names into position IDs. Pass the returned suggestion.fromId and suggestion.toId as fromId/toId to the results tool.
Omio source site2 tools on this site
What this tool does
STEP 1 — Always call this first. Converts free-text city names into position IDs. Pass the returned suggestion.fromId and suggestion.toId as fromId/toId to the results tool. Use it on Omio with an agent. It runs in the browser on the website and needs no package install.
How to install
Open the omio.com website and ask your browser agent to use resolve_positions
Run with an agent
Use the resolve_positions tool on omio.com with fromTerm: <string>, toTerm: <string>, preferCountryCode: <string>, locale: <string>. Return the structured result and cite the source page.
Input contract
fromTermstringOrigin city or station name, e.g. 'berlin'.
toTermstringDestination city or station name, e.g. 'munich'.
preferCountryCodestringOptional 2-letter country code to prefer (e.g. 'DE').
localestringLocale, default 'en'.
Verify the live listing at the source before a production call. Fields marked as a starter contract may differ from what the site expects.