Scan a link
scan_linkUse this when the user asks CrateWire to identify the tracks in a public Instagram post or reel, a TikTok video, or one DJ set on YouTube, SoundCloud or Mixcloud, and CrateWire may not know that link yet. If CrateWire already knows this post, or this account has already scanned this set, the result comes back at once and no scan is used. A set this account has not scanned uses set minutes, even when CrateWire has seen that set before. Otherwise it starts a scan for this CrateWire account, exactly like pasting the link in the CrateWire app: a post uses one scan from the account's monthly scan allowance, a set uses set minutes from the account's plan, and the result is ready later through find_known_tracks or get_set_tracklist. Starting a scan needs an active CrateWire plan; an account without one may get one post scan from an AI app, once, shown as the first 3 tracks. Each call counts as one of the account's 60 link lookups a day. Do not use it when the user only wants what is already identified (use find_known_tracks), and do not send it an Instagram story, highlight, profile or song page link, a playlist or an artist profile: it refuses those.
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": {
"url": "<url>"
},
"name": "scan_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full link to scan: a public Instagram post or reel, a TikTok video, or one DJ set on YouTube, SoundCloud or Mixcloud, for example https://www.tiktok.com/@example.dj/video/7300000000000000000. | |
| accept_partial | No | Sets only: send true, for example true, to scan just the part of a set that the account's remaining set minutes cover, after an answer said the set is longer than the minutes left; leave it out otherwise. |