Sound search
search_musicSounds (music) that the sound search of TikTok (the "Sounds" tab) finds for a query, in the order of TikTok. Each entry is a short sound: id, title, author, album, duration, cover, whether it is an original sound, and the number of videos that use it when TikTok gives it. For the full sound use get_music, for its videos get_music_videos. 1 credit per sound; a query with no result gives an empty list and costs nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Results on this page, 1 to 50. Default 12. A page can come back shorter; next_cursor then continues with no gap. | |
| fresh | No | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. | |
| query | Yes | Words to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: lofi | |
| cursor | No | next_cursor from the previous page |