opencode_clear_memory
Delete stored memories by tag or clear all saved memories to reset namespace. Specify a tag to remove only matching memories; omit to delete every memory.
Instructions
Delete stored memories. Optionally scope to a tag; with no tag, clears ALL memories in the namespace (destructive).
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": "opencode_clear_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only clear memories with this tag |