sound_set_audio_file
Assign an imported audio asset to an instrument by specifying the instrument and audio GUIDs, and verify the attachment before returning to ensure correct assignment.
Instructions
Assign an imported audio asset to an instrument.
Reads the assignment back before returning — a guid alone isn't
proof the audio actually attached, only that the JS call didn't
throw. If audioFileGuid comes back null, the assignment silently
didn't take (this raises instead of reporting a false success).
Args: target: Instrument {guid} or path. audio: Asset {guid} from audio_import.
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": {
"target": "<target>",
"audio": "<audio>"
},
"name": "sound_set_audio_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | Yes | ||
| target | Yes |