delete_resource
Move a LegendKeeper resource and its documents to the trash; enable cascade to include child resources, and restore later using the returned ID.
Instructions
Move a resource (with its documents, and children if cascade=true) to the trash. Restore it with restore_resource using the id returned here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cascade | No | Also delete all child resources. | |
| confirm | No | Must be true. Ask the user before deleting. | |
| project | No | Configured project (world) name. Omit to use the default project; see list_projects. | |
| resource | Yes | Resource id, or its exact name/alias (case-insensitive). |