{"openapi":"3.1.0","info":{"title":"MapTiler (BYOK) API","version":"0.1.0","description":"MapTiler (BYOK) lets an AI assistant read your own MapTiler data through the MapTiler API with a key you supply (MapTiler API key). Read-only: 6 tools (search_places, reverse_geocode, get_place, get_elevation, search_coordinate_systems, transform_coordinates). 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...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-maptiler.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-maptiler/docs"},"termsOfService":"https://connectorbay.com/byok-maptiler/terms"},"servers":[{"url":"https://byok-maptiler.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-maptiler/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":"Forward geocoding: find places, addresses and points of interest by name. Returns up to 10 GeoJSON-style matches with na","description":"Forward geocoding: find places, addresses and points of interest by name. Returns up to 10 GeoJSON-style matches with name, type, coordinates, bounding box and the containing regions. Use for \"Where is Zurich main station\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Place name, address or POI category to search, for example 'Zurich' or 'restaurant mediterranean'.","maxLength":300,"title":"Query","type":"string"},"proximity":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Bias results toward a point as 'lon,lat' (for example 8.5285,47.3774), or the word ip to use the server's IP location.","title":"Proximity"},"bbox":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Only return results inside the box 'west,south,east,north', for example 5.9559,45.818,10.4921,47.8084.","title":"Bbox"},"country":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Limit to these countries as ISO 3166-1 alpha-2 codes separated by commas, for example 'ch,de'.","title":"Country"},"types":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Place types: continental_marine, country, major_landform, region, subregion, county, joint_municipality, joint_submunicipality, municipality, municipal_district, locality, neighbourhood, place, postal_code, address, road, poi (off by default); several separated by commas.","title":"Types"},"language":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Preferred result language as an ISO 639-1 code, or several separated by commas, for example 'de,en'; only the first is used for matching.","title":"Language"},"worldview":{"anyOf":[{"enum":["default","auto","ae","ch","jp","kr","us"],"type":"string"},{"type":"null"}],"default":null,"description":"Disputed borders and names follow this country's view: default, auto, ae, ch, jp, kr or us.","title":"Worldview"},"autocomplete":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to treat the text as a partly typed query, false to disable that.","title":"Autocomplete"},"limit":{"anyOf":[{"maximum":10,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum results (1 to 10, default 5).","title":"Limit"}},"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/reverse_geocode":{"post":{"operationId":"reverse_geocode","summary":"Reverse geocoding: find the place, address or region at a longitude and latitude. Returns the best match for each place ","description":"Reverse geocoding: find the place, address or region at a longitude and latitude. Returns the best match for each place type unless limit and types are used. Use for \"What is at longitude 8.5285 and latitude 47.3774\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"longitude":{"description":"Longitude in degrees, -180 to 180.","maximum":180,"minimum":-180,"title":"Longitude","type":"number"},"latitude":{"description":"Latitude in degrees, -90 to 90.","maximum":90,"minimum":-90,"title":"Latitude","type":"number"},"types":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Place types: continental_marine, country, major_landform, region, subregion, county, joint_municipality, joint_submunicipality, municipality, municipal_district, locality, neighbourhood, place, postal_code, address, road, poi (off by default); several separated by commas.","title":"Types"},"limit":{"anyOf":[{"maximum":10,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum results (1 to 10); above 1 needs exactly one value in types and returns the nearest features of that type within 1 km.","title":"Limit"},"language":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Preferred result language as an ISO 639-1 code, or several separated by commas, for example 'de,en'; only the first is used for matching.","title":"Language"},"worldview":{"anyOf":[{"enum":["default","auto","ae","ch","jp","kr","us"],"type":"string"},{"type":"null"}],"default":null,"description":"Disputed borders and names follow this country's view: default, auto, ae, ch, jp, kr or us.","title":"Worldview"}},"required":["longitude","latitude"],"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_place":{"post":{"operationId":"get_place","summary":"Look up one place again by the feature id found in geocoding answers (for example country.26561650); ids change when the","description":"Look up one place again by the feature id found in geocoding answers (for example country.26561650); ids change when the database is re-indexed. Use for \"Show the place with feature id municipality.46425\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"feature_id":{"description":"Feature id from a geocoding answer, in the form kind.number.","maxLength":60,"title":"Feature Id","type":"string"},"language":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Preferred result language as an ISO 639-1 code, or several separated by commas, for example 'de,en'; only the first is used for matching.","title":"Language"},"worldview":{"anyOf":[{"enum":["default","auto","ae","ch","jp","kr","us"],"type":"string"},{"type":"null"}],"default":null,"description":"Disputed borders and names follow this country's view: default, auto, ae, ch, jp, kr or us.","title":"Worldview"}},"required":["feature_id"],"title":"get_placeArguments","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_elevation":{"post":{"operationId":"get_elevation","summary":"Get elevation above sea level for up to 50 longitude,latitude positions. Answers a list of [longitude, latitude, elevati","description":"Get elevation above sea level for up to 50 longitude,latitude positions. Answers a list of [longitude, latitude, elevation] triples. Use for \"What is the elevation at 17 E, 50 N and at 133.5 W, 58.39 N\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"locations":{"description":"Positions as lng,lat pairs separated by semicolons, maximum 50, for example '17,50;-133.5,58.39'.","maxLength":1500,"title":"Locations","type":"string"},"unit":{"anyOf":[{"enum":["meters","feet"],"type":"string"},{"type":"null"}],"default":null,"description":"meters (default) or feet.","title":"Unit"}},"required":["locations"],"title":"get_elevationArguments","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_coordinate_systems":{"post":{"operationId":"search_coordinate_systems","summary":"Search the catalog of coordinate reference systems, datums and projections by name or EPSG code; returns kind, name, id,","description":"Search the catalog of coordinate reference systems, datums and projections by name or EPSG code; returns kind, name, id, area and accuracy. Use for \"Find the coordinate system with EPSG code 4326\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Search text plus optional filters kind:, code:, trans:, deprecated:, for example 'finland kind:CRS' or 'code:4326'.","maxLength":200,"title":"Query","type":"string"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum results (1 to 50, default 10).","title":"Limit"},"offset":{"anyOf":[{"maximum":100000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Results to skip, for paging (default 0).","title":"Offset"}},"required":["query"],"title":"search_coordinate_systemsArguments","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/transform_coordinates":{"post":{"operationId":"transform_coordinates","summary":"Convert up to 50 coordinate pairs (or triples with height) from one coordinate reference system to another using EPSG co","description":"Convert up to 50 coordinate pairs (or triples with height) from one coordinate reference system to another using EPSG codes. Use for \"Convert longitude 17, latitude 50 from WGS 84 to Web Mercator\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"coordinates":{"description":"Coordinates as x,y or x,y,z separated by semicolons, maximum 50, for example '17,50;17,50,300'.","maxLength":1500,"title":"Coordinates","type":"string"},"s_srs":{"anyOf":[{"maximum":999999,"minimum":1,"type":"integer"},{"type":"null"}],"default":4326,"description":"EPSG code of the source system (default 4326).","title":"S Srs"},"t_srs":{"anyOf":[{"maximum":999999,"minimum":1,"type":"integer"},{"type":"null"}],"default":4326,"description":"EPSG code of the target system (default 4326), for example 3857.","title":"T Srs"},"ops":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Optional operation codes separated by a pipe (|) to force a transformation.","title":"Ops"}},"required":["coordinates"],"title":"transform_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}}}}