create_sample
Queues a real audio preview clip from a local file into a unique output directory, with optional start offset and duration to avoid overwrites.
Instructions
Queue a real preview clip in a unique output directory.
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": {
"audio_path": "<audio_path>",
"output_dir": "<output_dir>"
},
"name": "create_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio_path | Yes | Absolute or caller-relative local audio file path. | |
| output_dir | Yes | Output root. A unique run subdirectory prevents overwrites. | |
| offset_seconds | No | Start offset in seconds. None starts one third into the input. | |
| duration_seconds | No | Preview duration in seconds, above 0 through 120. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||