delete_location
Permanently removes a location by name or /-separated path after exact-name confirmation; refuses nonempty locations unless allowed, deleting sub-locations and orphaning items to top level.
Instructions
PERMANENTLY delete a location (name or /-separated path). confirm
must equal the location's exact name. A location that still contains items
or sub-locations is refused unless confirm_nonempty=True — sub-locations
are deleted with it, and its items are ORPHANED to the top level (not
deleted). Archived items count as contents. There is no undo.
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": {
"location": "<location>",
"confirm": "<confirm>"
},
"name": "delete_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| location | Yes | ||
| confirm_nonempty | No |