request_deletions
Ask your owner to approve several deletions at once: up to 50 items, each a file (kind "file", container, target = file id or path), a folder (kind "folder", container, target = folder path), an empty container (kind "container", container…
Instructions
Ask your owner to approve several deletions at once: up to 50 items, each a file (kind "file", container, target = file id or path), a folder (kind "folder", container, target = folder path), an empty container (kind "container", container = its id or name), a memory space (kind "memory_space", container = the space's id or name) or a memory fact (kind "fact", target = the fact id), with a short reason the owner reads. Every item is checked now; if any can't be deleted nothing is asked, and the error names each bad item. Nothing is deleted yet: the owner approves all, some or none on the Approvals page, and Connapse then deletes the approved items itself, skipping any that are gone or changed since you asked. Call deletion_status with the returned id (and waitSeconds) to read each item's outcome; don't delete the items yourself.
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": {
"items": "<items>"
},
"name": "request_deletions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The deletions, in the order the owner should see them: a JSON array of {"kind", "container", "target", "reason"} objects |