Delete a Library file
assets_deleteDelete a Library asset nothing still uses and clear what was made from it (transcript proxy, editor media, and the stored file when it is your own upload). Refused with conflict while a composition, a saved version or another project still uses it; the error says where. Needs edit access to the asset. Not undoable. Free.
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": {
"assetId": "<assetId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "assets_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | The asset id (`id` from assets_list). | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||