remove_context_item
Remove a context item by ID, soft-deleting it to allow recovery.
Instructions
Remove (archive) a context item by ID. The item is soft-deleted and can be recovered.
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": {
"id": "<id>"
},
"name": "remove_context_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Item ID (full UUID or 6-character prefix) | |
| path | No | Path to the context directory | |
| sync | No | Sync to AI agent files after removing |