clear_memory
Clear specific memory entries by key or remove all project memories to manage storage and maintain organized data in the Code-MCP server.
Instructions
Clear a specific memory by key, or clear all memories for a project.
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": "clear_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Specific key to clear | |
| project | No | Clear all memories for this project | |
| clearAll | No | Clear ALL memories (use with caution) |