collection_manage
Manage shared collections (multi-user memory folders).
list: your collections + invites. create. update: rename (display only; slug/keys unchanged). delete: owner only, 2-step -- call without confirm to see impact + token, repeat with confirm:"". Permanent. members: who's in it. add_user / remove_user: by email or agent name. accept / decline an invite. publish: copy personal memories into it by id (originals kept). leave: remove YOURSELF from a collection you are a member of. Owners use delete. convert: flip type with type:"collaborative"|"knowledge_pack". ->collaborative mints a K_user wrap for each PIN-holding active member; ->knowledge_pack is a label flip. No wrap or DEK row is ever deleted either way.
Write to one: collection:"name" in memory_add. Search auto-includes all your collections.
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": {
"action": "<action>"
},
"name": "collection_manage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Collection name. | |
| role | No | "admin" = manages the collection (owner or admin may grant; the invitee needs a PIN to accept), "member" = can read and write, "reader" = can only read. Default: member. | |
| type | No | "collaborative" = everyone can read and write. "knowledge_pack" = only the owner writes, others can read. Default: collaborative. | |
| user | No | Email or agent name to add/remove. | |
| action | Yes | What to do | |
| confirm | No | delete: 2-step. Call without it -> refusal names slug + member/memory impact; repeat with confirm:"<slug>". Permanent. | |
| new_name | No | update: new display name (slug/keys unchanged). Type change not via update. | |
| memory_ids | No | Memory IDs to publish (copy in; originals kept). |