{"openapi":"3.1.0","info":{"title":"Azure Maps (BYOK) API","version":"0.1.0","description":"Azure Maps (BYOK) lets an AI assistant read your own Azure Maps data through the Azure Maps API with a key you supply (Azure Maps account subscription key (primary or secondary)). Read-only: 6 tools (geocode_address, geocode_structured, reverse_geocode, get_timezone_by_coordinates, get_timezone_by_id, get_current_weather). The BYOK key travels with each request, is used for that one call only and...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-azuremaps.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-azuremaps/docs"},"termsOfService":"https://connectorbay.com/byok-azuremaps/terms"},"servers":[{"url":"https://byok-azuremaps.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-azuremaps/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/geocode_address":{"post":{"operationId":"geocode_address","summary":"Convert a street address or place name (no points of interest) to coordinates, with formatted address, locality, confide","description":"Convert a street address or place name (no points of interest) to coordinates, with formatted address, locality, confidence and match codes. Use for \"What are the coordinates of 15127 NE 24th St, Redmond, WA\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Free-form address or place name, for example '15127 NE 24th St, Redmond, WA 98052'.","maxLength":300,"title":"Query","type":"string"},"api_version":{"anyOf":[{"const":"2026-01-01","type":"string"},{"type":"null"}],"default":"2026-01-01","description":"Azure Maps API version (fixed).","title":"Api Version"},"top":{"anyOf":[{"maximum":20,"minimum":1,"type":"integer"},{"type":"null"}],"default":5,"description":"How many results to return (1 to 20).","title":"Top"},"country_region":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Prefer results in this ISO 3166-1 alpha-2 country, for example FR.","title":"Country Region"},"coordinates":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Bias results toward a point given as 'lon,lat'.","title":"Coordinates"}},"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/geocode_structured":{"post":{"operationId":"geocode_structured","summary":"Convert an address given as separate parts (street line, locality, state, postal code, country) to coordinates; do not c","description":"Convert an address given as separate parts (street line, locality, state, postal code, country) to coordinates; do not combine with a free-form query. Use for \"Geocode 400 Broad St in Seattle, WA 98109, US\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"api_version":{"anyOf":[{"const":"2026-01-01","type":"string"},{"type":"null"}],"default":"2026-01-01","description":"Azure Maps API version (fixed).","title":"Api Version"},"address_line":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Street name and number, for example '400 Broad St'.","title":"Address Line"},"locality":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"City or town, for example Seattle.","title":"Locality"},"admin_district":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"State or province, for example WA.","title":"Admin District"},"postal_code":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Postal code.","title":"Postal Code"},"country_region":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"ISO 3166-1 alpha-2 country, for example US.","title":"Country Region"},"top":{"anyOf":[{"maximum":20,"minimum":1,"type":"integer"},{"type":"null"}],"default":5,"description":"How many results to return (1 to 20).","title":"Top"}},"title":"geocode_structuredArguments","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/reverse_geocode":{"post":{"operationId":"reverse_geocode","summary":"Convert a coordinate to the address or area at that point (address, neighbourhood, city, postcode, region or country). U","description":"Convert a coordinate to the address or area at that point (address, neighbourhood, city, postcode, region or country). Use for \"What address is at longitude -122.12, latitude 47.64\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"coordinates":{"description":"Point as 'lon,lat', for example '-122.12,47.64' (longitude first).","maxLength":40,"title":"Coordinates","type":"string"},"api_version":{"anyOf":[{"const":"2026-01-01","type":"string"},{"type":"null"}],"default":"2026-01-01","description":"Azure Maps API version (fixed).","title":"Api Version"},"result_types":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated entity types to return: Address, Neighborhood, PopulatedPlace, Postcode1, AdminDivision1, AdminDivision2, CountryRegion.","title":"Result Types"}},"required":["coordinates"],"title":"reverse_geocodeArguments","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/get_timezone_by_coordinates":{"post":{"operationId":"get_timezone_by_coordinates","summary":"Get the time zone at a latitude and longitude: IANA id, names, UTC offset, daylight saving and optionally country and tr","description":"Get the time zone at a latitude and longitude: IANA id, names, UTC offset, daylight saving and optionally country and transition data. Use for \"What time zone is at latitude 48.85, longitude 2.35\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Point as 'lat,lon', for example '48.85,2.35' (latitude first).","maxLength":40,"title":"Query","type":"string"},"api_version":{"anyOf":[{"const":"1.0","type":"string"},{"type":"null"}],"default":"1.0","description":"Azure Maps API version (fixed).","title":"Api Version"},"options":{"anyOf":[{"enum":["none","zoneInfo","transitions","all"],"type":"string"},{"type":"null"}],"default":null,"description":"Extra information: none, zoneInfo, transitions or all.","title":"Options"},"time_stamp":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Reference time (ISO 8601); the current time when omitted.","title":"Time Stamp"}},"required":["query"],"title":"get_timezone_by_coordinatesArguments","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/get_timezone_by_id":{"post":{"operationId":"get_timezone_by_id","summary":"Get time zone details (names, UTC offset, daylight saving) for an IANA time zone id. Use for \"What is the current UTC of","description":"Get time zone details (names, UTC offset, daylight saving) for an IANA time zone id. Use for \"What is the current UTC offset of Asia/Kolkata\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"IANA time zone id, for example 'Asia/Kolkata'.","maxLength":80,"title":"Query","type":"string"},"api_version":{"anyOf":[{"const":"1.0","type":"string"},{"type":"null"}],"default":"1.0","description":"Azure Maps API version (fixed).","title":"Api Version"},"options":{"anyOf":[{"enum":["none","zoneInfo","transitions","all"],"type":"string"},{"type":"null"}],"default":null,"description":"Extra information: none, zoneInfo, transitions or all.","title":"Options"},"time_stamp":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Reference time (ISO 8601); the current time when omitted.","title":"Time Stamp"}},"required":["query"],"title":"get_timezone_by_idArguments","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/get_current_weather":{"post":{"operationId":"get_current_weather","summary":"Get current weather conditions at a latitude and longitude, optionally the past 6 or 24 hours of hourly observations. Us","description":"Get current weather conditions at a latitude and longitude, optionally the past 6 or 24 hours of hourly observations. Use for \"What is the weather right now at 47.641268,-122.125679\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Point as 'lat,lon', for example '47.641268,-122.125679'.","maxLength":40,"title":"Query","type":"string"},"api_version":{"anyOf":[{"const":"1.1","type":"string"},{"type":"null"}],"default":"1.1","description":"Azure Maps API version (fixed).","title":"Api Version"},"unit":{"anyOf":[{"enum":["metric","imperial"],"type":"string"},{"type":"null"}],"default":"metric","description":"Units: metric or imperial.","title":"Unit"},"details":{"anyOf":[{"enum":["true","false"],"type":"string"},{"type":"null"}],"default":null,"description":"True for full details, false for a short summary.","title":"Details"},"duration":{"anyOf":[{"enum":[0,6,24],"type":"integer"},{"type":"null"}],"default":null,"description":"0 for the latest observation, 6 or 24 for hourly observations of the past hours.","title":"Duration"}},"required":["query"],"title":"get_current_weatherArguments","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}}}}