Preview deleting a project document
tiled_delete_filePermanently delete a TMJ map or TSJ tileset after a bounded fail-closed scan confirms it is unreferenced. Creates a checkpoint before unlinking to enable restoration.
Instructions
Plans the permanent deletion of one project-local TMJ map or TSJ tileset. The bounded fail-closed reference scan (TMJ maps, JSON worlds, JSON templates, plus TMX maps and XML templates through the bounded fail-closed XML reader; pattern-based worlds still reject the scan) must prove the target unreferenced, and it re-runs on apply. Apply commits a checkpoint of the exact current bytes before unlinking, so restoring that checkpoint recreates the file; the tool itself modifies nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Canonical project-relative POSIX path; absolute paths and .. are forbidden |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |