Delete asset
delete_assetDelete a workspace asset for good. Frames that show the image then render it empty; text in a deleted font falls back to Google Fonts of the same family, or to the default font. A workspace admin or the asset's uploader only. The asset is looked up in fileId's workspace when given, else workspace, else the default workspace.
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": {
"asset": "<asset>"
},
"name": "delete_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | The asset's id (list_assets) or its /api/assets/… URL. | |
| fileId | No | The file the assets are for: its workspace's (a file shows the fonts and images of its own workspace). | |
| workspace | No | The workspace whose assets to use: its id or name (whoami lists them). Default: fileId's workspace, else the default workspace. |