{"openapi":"3.1.0","info":{"title":"TomTom (BYOK) API","version":"0.1.0","description":"TomTom (BYOK) lets an AI assistant read your own TomTom data through the TomTom API with a key you supply (TomTom API key). Read-only: 4 tools (search_places, geocode_address, search_nearby, calculate_route). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to api.tomtom.com. Unofficial connector by Unify Dynamics...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-tomtom.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-tomtom/docs"},"termsOfService":"https://connectorbay.com/byok-tomtom/terms"},"servers":[{"url":"https://byok-tomtom.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-tomtom/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/search_places":{"post":{"operationId":"search_places","summary":"Fuzzy search for addresses, streets, areas and points of interest from free text, optionally biased to a point or limite","description":"Fuzzy search for addresses, streets, areas and points of interest from free text, optionally biased to a point or limited by country; returns type, address, coordinates and distance. Use for \"Find coffee shops near Amsterdam Central Station\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"What to look for: an address, place or business name, for example 'coffee' or '123 Main St'.","maxLength":200,"title":"Query","type":"string"},"lat":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude of the point to bias results toward.","title":"Lat"},"lon":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude of the point to bias results toward.","title":"Lon"},"radius":{"anyOf":[{"maximum":20000000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Radius in meters around lat/lon that results must be inside (values of 0 or less are ignored).","title":"Radius"},"country_set":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Limit to countries, comma-separated ISO 3166-1 alpha-2 or alpha-3 codes, for example 'US,CA'.","title":"Country Set"},"language":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"IETF language tag for results, for example 'en-GB'.","title":"Language"},"idx_set":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated index types to search: POI, PAD, Str, Xstr, Geo, Addr (default POI,PAD,Str,Xstr,Geo,Addr).","title":"Idx Set"},"category_set":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated POI category ids to restrict to, for example '7315' for restaurants.","title":"Category Set"},"typeahead":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to treat the text as the start of what the user is typing.","title":"Typeahead"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 100, default 10).","title":"Limit"},"ofs":{"anyOf":[{"maximum":1900,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Ofs"}},"required":["query"],"title":"search_placesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/geocode_address":{"post":{"operationId":"geocode_address","summary":"Turn a street address or place name into coordinates and structured address parts (street, municipality, postal code, co","description":"Turn a street address or place name into coordinates and structured address parts (street, municipality, postal code, country); returns up to 100 matches with a match confidence. Use for \"What are the coordinates of 1600 Pennsylvania Avenue, Washington\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Address or place text, for example '1600 Pennsylvania Avenue NW, Washington'.","maxLength":250,"title":"Query","type":"string"},"lat":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude of the point to bias results toward.","title":"Lat"},"lon":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude of the point to bias results toward.","title":"Lon"},"radius":{"anyOf":[{"maximum":20000000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Radius in meters around lat/lon that results must be inside (values of 0 or less are ignored).","title":"Radius"},"country_set":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Limit to countries, comma-separated ISO 3166-1 alpha-2 or alpha-3 codes, for example 'US,CA'.","title":"Country Set"},"language":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"IETF language tag for results, for example 'en-GB'.","title":"Language"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 100, default 10).","title":"Limit"},"ofs":{"anyOf":[{"maximum":1900,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Number of results to skip, for paging.","title":"Ofs"}},"required":["query"],"title":"geocode_addressArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_nearby":{"post":{"operationId":"search_nearby","summary":"Find points of interest around a latitude and longitude, optionally within a radius and restricted to category ids; retu","description":"Find points of interest around a latitude and longitude, optionally within a radius and restricted to category ids; returns name, address, coordinates and distance. Use for \"What restaurants are within 500 m of latitude 52.3791, longitude 4.9003\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"lat":{"description":"Latitude of the center.","maximum":90,"minimum":-90,"title":"Lat","type":"number"},"lon":{"description":"Longitude of the center.","maximum":180,"minimum":-180,"title":"Lon","type":"number"},"radius":{"anyOf":[{"maximum":20000000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Radius in meters around lat/lon that results must be inside (values of 0 or less are ignored).","title":"Radius"},"category_set":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated POI category ids, for example '7315' for restaurants.","title":"Category Set"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (1 to 100, default 10).","title":"Limit"}},"required":["lat","lon"],"title":"search_nearbyArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/calculate_route":{"post":{"operationId":"calculate_route","summary":"Calculate a route between two points: length in meters, travel time in seconds, traffic delay, departure and arrival tim","description":"Calculate a route between two points: length in meters, travel time in seconds, traffic delay, departure and arrival time. Choose travel mode, route type and whether to use traffic; no turn-by-turn instructions are returned. Use for \"How long does it take to drive from Amsterdam to Utrecht right now\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"from_lat":{"description":"Start latitude in decimal degrees.","maximum":90,"minimum":-90,"title":"From Lat","type":"number"},"from_lon":{"description":"Start longitude in decimal degrees.","maximum":180,"minimum":-180,"title":"From Lon","type":"number"},"to_lat":{"description":"End latitude in decimal degrees.","maximum":90,"minimum":-90,"title":"To Lat","type":"number"},"to_lon":{"description":"End longitude in decimal degrees.","maximum":180,"minimum":-180,"title":"To Lon","type":"number"},"travel_mode":{"anyOf":[{"enum":["car","truck","taxi","bus","van","motorcycle","bicycle","pedestrian"],"type":"string"},{"type":"null"}],"default":"car","description":"How you travel.","title":"Travel Mode"},"route_type":{"anyOf":[{"enum":["fastest","shortest","short","eco","thrilling"],"type":"string"},{"type":"null"}],"default":"fastest","description":"What to optimise.","title":"Route Type"},"traffic":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":true,"description":"True to take live and historical traffic into account.","title":"Traffic"},"depart_at":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Departure time as an RFC 3339 date-time, or 'now' (default).","title":"Depart At"},"avoid":{"anyOf":[{"enum":["tollRoads","motorways","ferries","tunnels","borderCrossings"],"type":"string"},{"type":"null"}],"default":null,"description":"Road type to avoid: tollRoads, motorways, ferries, tunnels or borderCrossings.","title":"Avoid"},"max_alternatives":{"anyOf":[{"maximum":5,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"How many alternative routes to add (0 to 5).","title":"Max Alternatives"}},"required":["from_lat","from_lon","to_lat","to_lon"],"title":"calculate_routeArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}