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.
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": {
"resource": "<resource>"
},
"name": "delete_resource"
}
}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). |