Rename a file
rename_assetRename an asset file in Wiki.js. Be aware that pages embedding the old URL will break, as Wiki.js does not rewrite them.
Instructions
Renames an asset. Pages embedding it by its old URL will break — Wiki.js does not rewrite them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | Asset id from list_assets. | |
| filename | Yes | New file name, including extension. | |
| 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. |