manage_memory_rules
Manage memory rules across global and project scopes by listing, creating, and initializing project rules, plus enhancing requests with stored context to apply consistent guidance.
Instructions
Unified memory rules management
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": "manage_memory_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | Memory rule definition (required for create) | |
| scope | No | Rule scope (optional for list) | |
| action | Yes | Action to perform | |
| context | No | Context information (required for enhance_request) | |
| request | No | Original request (required for enhance_request) | |
| projectPath | No | Path to project (required for init_project) | |
| projectType | No | Type of project (required for init_project) |