delete_location
Permanently delete a location by confirming its exact name. Non-empty locations are refused unless you confirm orphaning items to the top level and deleting sub-locations; no undo.
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). 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 |