{"openapi":"3.1.0","info":{"title":"Yahoo Japan Maps (BYOK) API","version":"0.1.0","description":"Yahoo Japan Maps (BYOK) lets an AI assistant read your own Yahoo Japan Maps data through the Yahoo Japan Maps API with a key you supply (Yahoo Japan Client ID (application ID)). Read-only: 6 tools (geocode_address, reverse_geocode, search_postal_codes, measure_distance, get_elevation, get_rain_forecast). The BYOK key travels with each request, is used for that one call only and is never stored,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-yolp.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-yolp/docs"},"termsOfService":"https://connectorbay.com/byok-yolp/terms"},"servers":[{"url":"https://byok-yolp.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-yolp/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 Japanese address or place keyword to coordinates; returns matching features with name, address, coordinates an","description":"Convert a Japanese address or place keyword to coordinates; returns matching features with name, address, coordinates and address level (up to 100). Use for \"What are the coordinates of Roppongi, Minato-ku, Tokyo\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"description":"Japanese address or keyword to search, for example '東京都港区六本木'.","maxLength":200,"title":"Query","type":"string"},"al":{"anyOf":[{"maximum":4,"minimum":1,"type":"integer"},{"type":"null"}],"default":3,"description":"Address level: 1 prefecture, 2 city or ward, 3 town (default), 4 block.","title":"Al"},"results":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (default 10, at most 100).","title":"Results"},"sort":{"anyOf":[{"enum":["score","dist","kana","-kana","address"],"type":"string"},{"type":"null"}],"default":"score","description":"Order: score (best match, default), dist, kana, -kana or address.","title":"Sort"},"output":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format; fixed to json for this connector.","title":"Output"}},"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/reverse_geocode":{"post":{"operationId":"reverse_geocode","summary":"Convert a latitude and longitude in Japan to the address at that point. Use for \"What address is at latitude 35.6629, lo","description":"Convert a latitude and longitude in Japan to the address at that point. Use for \"What address is at latitude 35.6629, longitude 139.7336\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"lat":{"description":"Latitude in decimal degrees (WGS 84).","maximum":90,"minimum":-90,"title":"Lat","type":"number"},"lon":{"description":"Longitude in decimal degrees (WGS 84).","maximum":180,"minimum":-180,"title":"Lon","type":"number"},"output":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format; fixed to json for this connector.","title":"Output"}},"required":["lat","lon"],"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/search_postal_codes":{"post":{"operationId":"search_postal_codes","summary":"Look up Japanese postal codes by address text or JIS area code; returns locations and post office names (up to 100 per c","description":"Look up Japanese postal codes by address text or JIS area code; returns locations and post office names (up to 100 per call). Use for \"What is the postal code for Roppongi in Minato-ku\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Postal code or address text to search, for example '1066190' or '六本木'.","title":"Query"},"ac":{"anyOf":[{"maxLength":5,"type":"string"},{"type":"null"}],"default":null,"description":"JIS X 0401 area code: 2 digits for a prefecture, 5 for a city, or JP for the whole country.","title":"Ac"},"results":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return (default 10, at most 100).","title":"Results"},"start":{"anyOf":[{"maximum":3000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"First result position (default 1, at most 3000).","title":"Start"},"output":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format; fixed to json for this connector.","title":"Output"}},"title":"search_postal_codesArguments","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/measure_distance":{"post":{"operationId":"measure_distance","summary":"Calculate the great-circle distance between two or more points. Use for \"How far is it between Tokyo Station and Shinjuk","description":"Calculate the great-circle distance between two or more points. Use for \"How far is it between Tokyo Station and Shinjuku Station\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"coordinates":{"description":"Points as 'lon,lat' pairs separated by a space, in WGS 84, for example '139.767,35.681 139.700,35.690'.","maxLength":400,"title":"Coordinates","type":"string"},"output":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format; fixed to json for this connector.","title":"Output"}},"required":["coordinates"],"title":"measure_distanceArguments","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 the elevation above sea level at one or more points in Japan (up to 40 points per request). Use for \"What is the ele","description":"Get the elevation above sea level at one or more points in Japan (up to 40 points per request). Use for \"What is the elevation at Mount Fuji's summit coordinates\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"coordinates":{"description":"Points as 'lon,lat,lon,lat,...' in WGS 84, at most 40 points.","maxLength":1000,"title":"Coordinates","type":"string"},"output":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format; fixed to json for this connector.","title":"Output"}},"required":["coordinates"],"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/get_rain_forecast":{"post":{"operationId":"get_rain_forecast","summary":"Get observed and 60-minute forecast rainfall intensity for up to 10 points in Japan. Use for \"Will it rain at Tokyo Stat","description":"Get observed and 60-minute forecast rainfall intensity for up to 10 points in Japan. Use for \"Will it rain at Tokyo Station in the next hour\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"coordinates":{"description":"Points as 'lon,lat' pairs separated by a space (at most 10), in WGS 84.","maxLength":400,"title":"Coordinates","type":"string"},"past":{"anyOf":[{"maximum":2,"minimum":0,"type":"integer"},{"type":"null"}],"default":0,"description":"Include observed rainfall for the past 0, 1 or 2 hours.","title":"Past"},"interval":{"anyOf":[{"enum":[5,10],"type":"integer"},{"type":"null"}],"default":10,"description":"Interval in minutes: 10 (default) or 5.","title":"Interval"},"output":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format; fixed to json for this connector.","title":"Output"}},"required":["coordinates"],"title":"get_rain_forecastArguments","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}}}}