rm
Delete lore/doc, sent messages, members, or entire openboxes. Supports recoverable trash, permanent force, batch operations, and explicit action selection.
Instructions
rm — unified delete. Target is chosen by argument (action= is an explicit alternative, auto-detected by which argument is present when omitted).
Deleting items (lore/doc) — id is a single value or a list (batch)
trash (recoverable, default) →
rm(id)→ restore(id) to recoverpermanent delete (unrecoverable) →
rm(id, force=True)batch delete →
rm(id=['lr-x','dc-y'], force=True)mark as dropped (stays in search) →
edit(id, status='dropped')supersede (keep old + new head) →
add(type='lore'|'doc', relates=old_id, ...)
Taking down something you sent (reverse of push/send, doesn't touch the source of truth)
rm(sent='lr-x'|'dc-x', openbox='ai-team')take down from an openbox (sender only)rm(sent='lr-x'|'dc-x')take down from my server(or action='sent', sent= is still required — action= is just the explicit form)
Removing a member (openbox owner only)
rm(member='<member_id>', openbox='ai-team')(or action='member')
Deleting an entire openbox (shared space) (owner, unrecoverable → always asks to confirm)
rm(openbox='ai-team')1st call: returns a warning+question (nothing executes)rm(openbox='ai-team')identical 2nd call → that itself is the confirmation, actually deletes (no confirm= param)(space= is an alias for openbox=)
(or action='openbox', openbox= is still required)
⚠️ action='openbox' cannot combine with id= (explicit rejection) — deleting an item and deleting an entire shared space are separate operations. id alone (action unspecified) goes to regular item delete.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| help | No | ||
| sent | No | ||
| force | No | ||
| space | No | ||
| action | No | ||
| member | No | ||
| openbox | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |