delete_asset
Delete an asset by name. Documents that use it can't render it anymore.
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": {
"name": "<name>"
},
"name": "delete_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The asset's path in the workspace, such as `launch/intro.mp4`, as list_assets shows it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Its path in the workspace, such as `launch/intro.mp4`. | |
| size | Yes | Bytes. | |
| sha256 | Yes | Its content's SHA-256, lowercase hex. | |
| source | No | What it was made from; absent for an upload. | |
| created_at | Yes | RFC 3339. | |
| created_by | Yes | The API key or member that recorded it. | |
| project_id | Yes | The project it's in. | |
| updated_at | Yes | RFC 3339. | |
| content_type | Yes | Its media type, such as `video/mp4`. | |
| download_url | No | A short-lived URL that downloads it, on a single asset's read. |