delete_asset
Remove an asset from the project permanently. By default, deletion is blocked if other packages reference it; enable force to bypass this check, but note that force-deleted assets cannot be recovered.
Instructions
Delete an asset. Refuses if referenced by other packages unless force=true. WARNING: deletion is permanent within the project; force-delete cannot recover via Undo.
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": {
"path": "<path>"
},
"name": "delete_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Asset path to delete. | |
| force | No | When true, delete even if referenced (default false). |