Delete a file
delete_assetPermanently delete an asset from Wiki.js. Use after listing assets; a confirmation token prevents accidental removal.
Instructions
Deletes an asset permanently. Any page embedding it will show a broken image or a dead link. Requires a confirmation token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | Asset id from list_assets. | |
| confirm_token | No | Token from this tool’s previous, unconfirmed call. Omit it to receive one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |