{"openapi":"3.1.0","info":{"title":"Freesound (BYOK) API","version":"0.1.0","description":"Freesound (BYOK) lets an AI assistant read your own Freesound data through the Freesound API with a key you supply (Freesound API key). Read-only: 8 tools (search_sounds, get_sound, list_similar_sounds, list_sound_comments, get_user, list_user_sounds, get_pack, list_pack_sounds). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-freesound.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-freesound/docs"},"termsOfService":"https://connectorbay.com/byok-freesound/terms"},"servers":[{"url":"https://byok-freesound.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-freesound/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_sounds":{"post":{"operationId":"search_sounds","summary":"Search Freesound sounds by text and filters (tag, duration, type, license ...); returns id, name, tags, author, licence,","description":"Search Freesound sounds by text and filters (tag, duration, type, license ...); returns id, name, tags, author, licence, duration and page URL. Use for \"Find short piano sounds on Freesound\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"query":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Search words; quoted phrases and +/- modifiers work. Empty returns all sounds.","title":"Query"},"filter":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Field filters such as 'tag:guitar', 'type:(wav OR aiff)' or 'duration:[0.1 TO 5]'; separate several with spaces.","title":"Filter"},"sort":{"anyOf":[{"enum":["score","duration_desc","duration_asc","created_desc","created_asc","downloads_desc","downloads_asc","rating_desc","rating_asc"],"type":"string"},{"type":"null"}],"default":"score","description":"Order of results.","title":"Sort"},"group_by_pack":{"anyOf":[{"enum":[0,1],"type":"integer"},{"type":"null"}],"default":0,"description":"1 to show only one sound per pack, 0 for all sounds.","title":"Group By Pack"},"fields":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":"id,name,tags,username,license,duration,url","description":"Comma-separated sound fields to return, for example 'id,name,tags,username,license,duration,url'.","title":"Fields"},"page_size":{"anyOf":[{"maximum":150,"minimum":1,"type":"integer"},{"type":"null"}],"default":15,"description":"How many sounds per page (1 to 150).","title":"Page Size"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"search_soundsArguments","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_sound":{"post":{"operationId":"get_sound","summary":"Get one sound's details: name, description, tags, category, licence, type, duration, sample rate, author, download count","description":"Get one sound's details: name, description, tags, category, licence, type, duration, sample rate, author, download count and rating. Use for \"Tell me about Freesound sound 1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"sound_id":{"description":"Freesound sound id (integer).","minimum":1,"title":"Sound Id","type":"integer"}},"required":["sound_id"],"title":"get_soundArguments","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/list_similar_sounds":{"post":{"operationId":"list_similar_sounds","summary":"List sounds that are acoustically similar to a given sound. Use for \"Which sounds are similar to Freesound sound 1\".","description":"List sounds that are acoustically similar to a given sound. Use for \"Which sounds are similar to Freesound sound 1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"sound_id":{"description":"Freesound sound id (integer).","minimum":1,"title":"Sound Id","type":"integer"},"fields":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":"id,name,tags,username,license,duration,url","description":"Comma-separated sound fields to return, for example 'id,name,tags,username,license,duration,url'.","title":"Fields"},"page_size":{"anyOf":[{"maximum":150,"minimum":1,"type":"integer"},{"type":"null"}],"default":15,"description":"How many sounds per page (1 to 150).","title":"Page Size"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["sound_id"],"title":"list_similar_soundsArguments","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/list_sound_comments":{"post":{"operationId":"list_sound_comments","summary":"List the comments on a sound, newest first, with author and date. Use for \"What do people say about Freesound sound 1\".","description":"List the comments on a sound, newest first, with author and date. Use for \"What do people say about Freesound sound 1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"sound_id":{"description":"Freesound sound id (integer).","minimum":1,"title":"Sound Id","type":"integer"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"page_size":{"anyOf":[{"maximum":150,"minimum":1,"type":"integer"},{"type":"null"}],"default":15,"description":"How many comments per page (1 to 150).","title":"Page Size"}},"required":["sound_id"],"title":"list_sound_commentsArguments","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_user":{"post":{"operationId":"get_user","summary":"Get a Freesound user's public profile: join date, sound and pack counts, comments and posts count, homepage. Use for \"Ho","description":"Get a Freesound user's public profile: join date, sound and pack counts, comments and posts count, homepage. Use for \"How many sounds has the Freesound user 'someone' uploaded\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"username":{"description":"Freesound username.","maxLength":60,"title":"Username","type":"string"}},"required":["username"],"title":"get_userArguments","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/list_user_sounds":{"post":{"operationId":"list_user_sounds","summary":"List the sounds uploaded by one Freesound user. Use for \"Show the sounds uploaded by Freesound user 'someone'\".","description":"List the sounds uploaded by one Freesound user. Use for \"Show the sounds uploaded by Freesound user 'someone'\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"username":{"description":"Freesound username.","maxLength":60,"title":"Username","type":"string"},"fields":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":"id,name,tags,username,license,duration,url","description":"Comma-separated sound fields to return, for example 'id,name,tags,username,license,duration,url'.","title":"Fields"},"page_size":{"anyOf":[{"maximum":150,"minimum":1,"type":"integer"},{"type":"null"}],"default":15,"description":"How many sounds per page (1 to 150).","title":"Page Size"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["username"],"title":"list_user_soundsArguments","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_pack":{"post":{"operationId":"get_pack","summary":"Get a sound pack's name, description, author, creation date, sound count and download count. Use for \"What is in Freesou","description":"Get a sound pack's name, description, author, creation date, sound count and download count. Use for \"What is in Freesound pack 100\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"pack_id":{"description":"Freesound pack id (integer).","minimum":1,"title":"Pack Id","type":"integer"}},"required":["pack_id"],"title":"get_packArguments","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/list_pack_sounds":{"post":{"operationId":"list_pack_sounds","summary":"List the sounds inside a Freesound pack. Use for \"List the sounds in Freesound pack 100\".","description":"List the sounds inside a Freesound pack. Use for \"List the sounds in Freesound pack 100\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"pack_id":{"description":"Freesound pack id (integer).","minimum":1,"title":"Pack Id","type":"integer"},"fields":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":"id,name,tags,username,license,duration,url","description":"Comma-separated sound fields to return, for example 'id,name,tags,username,license,duration,url'.","title":"Fields"},"page_size":{"anyOf":[{"maximum":150,"minimum":1,"type":"integer"},{"type":"null"}],"default":15,"description":"How many sounds per page (1 to 150).","title":"Page Size"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["pack_id"],"title":"list_pack_soundsArguments","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}}}}