{"openapi":"3.1.0","info":{"title":"Last.fm Catalog (BYOK) API","version":"0.1.0","description":"Last.fm Catalog (BYOK) lets an AI assistant read your own Last.fm Catalog data through the Last.fm Catalog API with a key you supply (API key). Read-only: 12 tools (get_similar_artists, get_artist_top_tracks, get_artist_top_albums, get_artist_top_tags, get_album_info, get_track_info, get_similar_tracks, get_tag_info, get_tag_top_artists, get_tag_top_tracks, get_country_top_artists,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-lastfm-catalog.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-lastfm-catalog/docs"},"termsOfService":"https://connectorbay.com/byok-lastfm-catalog/terms"},"servers":[{"url":"https://byok-lastfm-catalog.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-lastfm-catalog/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/get_similar_artists":{"post":{"operationId":"get_similar_artists","summary":"List artists similar to one artist with a match score from 0 to 1. Returns Last.fm's JSON as is. Use for \"Which artists ","description":"List artists similar to one artist with a match score from 0 to 1. Returns Last.fm's JSON as is. Use for \"Which artists are similar to Cher on Last.fm\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"method_name":{"anyOf":[{"const":"artist.getsimilar","type":"string"},{"type":"null"}],"default":"artist.getsimilar","description":"Last.fm method to call. Always 'artist.getsimilar' for this tool; leave the default.","title":"Method Name"},"response_format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format. Always 'json'; leave the default.","title":"Response Format"},"artist":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Artist name, for example 'Cher'. Required unless mbid is given.","title":"Artist"},"mbid":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"MusicBrainz id of the artist, as an alternative to the names.","title":"Mbid"},"autocorrect":{"anyOf":[{"maximum":1,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"1 to fix misspelled names, 0 to leave them.","title":"Autocorrect"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (1 to 50 in this connector).","title":"Limit"}},"title":"get_similar_artistsArguments","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_artist_top_tracks":{"post":{"operationId":"get_artist_top_tracks","summary":"List an artist's most played tracks on Last.fm with play and listener counts. Returns Last.fm's JSON as is. Use for \"Wha","description":"List an artist's most played tracks on Last.fm with play and listener counts. Returns Last.fm's JSON as is. Use for \"What are the most popular songs by Cher on Last.fm\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"method_name":{"anyOf":[{"const":"artist.gettoptracks","type":"string"},{"type":"null"}],"default":"artist.gettoptracks","description":"Last.fm method to call. Always 'artist.gettoptracks' for this tool; leave the default.","title":"Method Name"},"response_format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format. Always 'json'; leave the default.","title":"Response Format"},"artist":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Artist name, for example 'Cher'. Required unless mbid is given.","title":"Artist"},"mbid":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"MusicBrainz id of the artist, as an alternative to the names.","title":"Mbid"},"autocorrect":{"anyOf":[{"maximum":1,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"1 to fix misspelled names, 0 to leave them.","title":"Autocorrect"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (1 to 50 in this connector).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"get_artist_top_tracksArguments","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_artist_top_albums":{"post":{"operationId":"get_artist_top_albums","summary":"List an artist's most popular albums on Last.fm with play counts. Returns Last.fm's JSON as is. Use for \"What are the be","description":"List an artist's most popular albums on Last.fm with play counts. Returns Last.fm's JSON as is. Use for \"What are the best known albums by Cher on Last.fm\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"method_name":{"anyOf":[{"const":"artist.gettopalbums","type":"string"},{"type":"null"}],"default":"artist.gettopalbums","description":"Last.fm method to call. Always 'artist.gettopalbums' for this tool; leave the default.","title":"Method Name"},"response_format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format. Always 'json'; leave the default.","title":"Response Format"},"artist":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Artist name, for example 'Cher'. Required unless mbid is given.","title":"Artist"},"mbid":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"MusicBrainz id of the artist, as an alternative to the names.","title":"Mbid"},"autocorrect":{"anyOf":[{"maximum":1,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"1 to fix misspelled names, 0 to leave them.","title":"Autocorrect"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (1 to 50 in this connector).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"get_artist_top_albumsArguments","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_artist_top_tags":{"post":{"operationId":"get_artist_top_tags","summary":"List the tags (genres, moods) listeners use most for an artist. Returns Last.fm's JSON as is. Use for \"Which genres is C","description":"List the tags (genres, moods) listeners use most for an artist. Returns Last.fm's JSON as is. Use for \"Which genres is Cher tagged with on Last.fm\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"method_name":{"anyOf":[{"const":"artist.gettoptags","type":"string"},{"type":"null"}],"default":"artist.gettoptags","description":"Last.fm method to call. Always 'artist.gettoptags' for this tool; leave the default.","title":"Method Name"},"response_format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format. Always 'json'; leave the default.","title":"Response Format"},"artist":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Artist name, for example 'Cher'. Required unless mbid is given.","title":"Artist"},"mbid":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"MusicBrainz id of the artist, as an alternative to the names.","title":"Mbid"},"autocorrect":{"anyOf":[{"maximum":1,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"1 to fix misspelled names, 0 to leave them.","title":"Autocorrect"}},"title":"get_artist_top_tagsArguments","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_album_info":{"post":{"operationId":"get_album_info","summary":"Get an album's metadata and track list with listener and play counts, tags and wiki summary. Returns Last.fm's JSON as i","description":"Get an album's metadata and track list with listener and play counts, tags and wiki summary. Returns Last.fm's JSON as is. Use for \"Show the track list of the album Believe by Cher on Last.fm\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"method_name":{"anyOf":[{"const":"album.getinfo","type":"string"},{"type":"null"}],"default":"album.getinfo","description":"Last.fm method to call. Always 'album.getinfo' for this tool; leave the default.","title":"Method Name"},"response_format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format. Always 'json'; leave the default.","title":"Response Format"},"artist":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Artist name, for example 'Cher'. Required unless mbid is given.","title":"Artist"},"album":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Album name, for example 'Believe'. Required unless mbid is given.","title":"Album"},"mbid":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"MusicBrainz id of the album, as an alternative to the names.","title":"Mbid"},"autocorrect":{"anyOf":[{"maximum":1,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"1 to fix misspelled names, 0 to leave them.","title":"Autocorrect"},"username":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Also include this user's play count for the album.","title":"Username"},"lang":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Language of the wiki text as a two-letter ISO 639 code.","title":"Lang"}},"title":"get_album_infoArguments","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_track_info":{"post":{"operationId":"get_track_info","summary":"Get a track's metadata: duration, listener and play counts, album, top tags and wiki summary. Returns Last.fm's JSON as ","description":"Get a track's metadata: duration, listener and play counts, album, top tags and wiki summary. Returns Last.fm's JSON as is. Use for \"How many listeners does the song Believe by Cher have on Last.fm\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"method_name":{"anyOf":[{"const":"track.getinfo","type":"string"},{"type":"null"}],"default":"track.getinfo","description":"Last.fm method to call. Always 'track.getinfo' for this tool; leave the default.","title":"Method Name"},"response_format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format. Always 'json'; leave the default.","title":"Response Format"},"artist":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Artist name, for example 'Cher'. Required unless mbid is given.","title":"Artist"},"track":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Track name, for example 'Believe'. Required unless mbid is given.","title":"Track"},"mbid":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"MusicBrainz id of the track, as an alternative to the names.","title":"Mbid"},"autocorrect":{"anyOf":[{"maximum":1,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"1 to fix misspelled names, 0 to leave them.","title":"Autocorrect"},"username":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Also include this user's play count and loved flag for the track.","title":"Username"}},"title":"get_track_infoArguments","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_similar_tracks":{"post":{"operationId":"get_similar_tracks","summary":"List tracks similar to one track, with a match score, based on listening data. Returns Last.fm's JSON as is. Use for \"Wh","description":"List tracks similar to one track, with a match score, based on listening data. Returns Last.fm's JSON as is. Use for \"Which songs are similar to Believe by Cher\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"method_name":{"anyOf":[{"const":"track.getsimilar","type":"string"},{"type":"null"}],"default":"track.getsimilar","description":"Last.fm method to call. Always 'track.getsimilar' for this tool; leave the default.","title":"Method Name"},"response_format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format. Always 'json'; leave the default.","title":"Response Format"},"artist":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Artist name, for example 'Cher'. Required unless mbid is given.","title":"Artist"},"track":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Track name, for example 'Believe'. Required unless mbid is given.","title":"Track"},"mbid":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"default":null,"description":"MusicBrainz id of the track, as an alternative to the names.","title":"Mbid"},"autocorrect":{"anyOf":[{"maximum":1,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"1 to fix misspelled names, 0 to leave them.","title":"Autocorrect"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (1 to 50 in this connector).","title":"Limit"}},"title":"get_similar_tracksArguments","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_tag_info":{"post":{"operationId":"get_tag_info","summary":"Get a tag's (genre's) metadata: number of listeners (reach), taggings and a wiki summary. Returns Last.fm's JSON as is. ","description":"Get a tag's (genre's) metadata: number of listeners (reach), taggings and a wiki summary. Returns Last.fm's JSON as is. Use for \"What is the disco tag on Last.fm\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"tag":{"description":"Tag (genre) name, for example 'disco'.","maxLength":100,"title":"Tag","type":"string"},"method_name":{"anyOf":[{"const":"tag.getinfo","type":"string"},{"type":"null"}],"default":"tag.getinfo","description":"Last.fm method to call. Always 'tag.getinfo' for this tool; leave the default.","title":"Method Name"},"response_format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format. Always 'json'; leave the default.","title":"Response Format"},"lang":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"Language of the wiki text as a two-letter ISO 639 code.","title":"Lang"}},"required":["tag"],"title":"get_tag_infoArguments","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_tag_top_artists":{"post":{"operationId":"get_tag_top_artists","summary":"List the artists most tagged with a tag (genre). Returns Last.fm's JSON as is. Use for \"Who are the top disco artists on","description":"List the artists most tagged with a tag (genre). Returns Last.fm's JSON as is. Use for \"Who are the top disco artists on Last.fm\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"tag":{"description":"Tag (genre) name, for example 'disco'.","maxLength":100,"title":"Tag","type":"string"},"method_name":{"anyOf":[{"const":"tag.gettopartists","type":"string"},{"type":"null"}],"default":"tag.gettopartists","description":"Last.fm method to call. Always 'tag.gettopartists' for this tool; leave the default.","title":"Method Name"},"response_format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format. Always 'json'; leave the default.","title":"Response Format"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (1 to 50 in this connector).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["tag"],"title":"get_tag_top_artistsArguments","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_tag_top_tracks":{"post":{"operationId":"get_tag_top_tracks","summary":"List the tracks most tagged with a tag (genre). Returns Last.fm's JSON as is. Use for \"What are the top disco tracks on ","description":"List the tracks most tagged with a tag (genre). Returns Last.fm's JSON as is. Use for \"What are the top disco tracks on Last.fm\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"tag":{"description":"Tag (genre) name, for example 'disco'.","maxLength":100,"title":"Tag","type":"string"},"method_name":{"anyOf":[{"const":"tag.gettoptracks","type":"string"},{"type":"null"}],"default":"tag.gettoptracks","description":"Last.fm method to call. Always 'tag.gettoptracks' for this tool; leave the default.","title":"Method Name"},"response_format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format. Always 'json'; leave the default.","title":"Response Format"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (1 to 50 in this connector).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["tag"],"title":"get_tag_top_tracksArguments","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_country_top_artists":{"post":{"operationId":"get_country_top_artists","summary":"List the most popular artists on Last.fm in one country. Returns Last.fm's JSON as is. Use for \"Who are the most listene","description":"List the most popular artists on Last.fm in one country. Returns Last.fm's JSON as is. Use for \"Who are the most listened-to artists in Spain on Last.fm\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"country":{"description":"Country name as in ISO 3166-1, for example 'Spain'.","maxLength":100,"title":"Country","type":"string"},"method_name":{"anyOf":[{"const":"geo.gettopartists","type":"string"},{"type":"null"}],"default":"geo.gettopartists","description":"Last.fm method to call. Always 'geo.gettopartists' for this tool; leave the default.","title":"Method Name"},"response_format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format. Always 'json'; leave the default.","title":"Response Format"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (1 to 50 in this connector).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["country"],"title":"get_country_top_artistsArguments","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_country_top_tracks":{"post":{"operationId":"get_country_top_tracks","summary":"List the most popular tracks on Last.fm last week in one country, optionally for one metro area. Returns Last.fm's JSON ","description":"List the most popular tracks on Last.fm last week in one country, optionally for one metro area. Returns Last.fm's JSON as is. Use for \"What are the most played songs in Spain this week on Last.fm\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"country":{"description":"Country name as in ISO 3166-1, for example 'Spain'.","maxLength":100,"title":"Country","type":"string"},"method_name":{"anyOf":[{"const":"geo.gettoptracks","type":"string"},{"type":"null"}],"default":"geo.gettoptracks","description":"Last.fm method to call. Always 'geo.gettoptracks' for this tool; leave the default.","title":"Method Name"},"response_format":{"anyOf":[{"const":"json","type":"string"},{"type":"null"}],"default":"json","description":"Output format. Always 'json'; leave the default.","title":"Response Format"},"location":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Metro area name inside the country, for example 'Madrid'.","title":"Location"},"limit":{"anyOf":[{"maximum":50,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Results per page (1 to 50 in this connector).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["country"],"title":"get_country_top_tracksArguments","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}}}}