Save or export
fileSave or export the open audio document: write edits as a new document, save to a path, or export slices, marker regions, or per-channel mono audio.
Instructions
Write the open file, as the person's File menu: save (Save Edit: the edit as a file of its own, the source untouched), save_as (to a path; its extension the container, the document's own rate, depth and channels), export_slices or export_marker_regions (a folder of files in the folder named), export_channels (a mono file for each lit channel, in a folder made in the folder named). Waits for the person's Return in the Library's band only if they asked SoundEdit to wait; the reply says where it went.
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": {
"command": "<command>"
},
"name": "file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | save_as: the new file's path (.wav, .aif, .caf, .flac); the exports: the folder to make their folder in; ~ is home | |
| command | Yes | what to write | |
| wait_seconds | No | seconds to wait for the person's Return (default 120) |