memory_add_template_rule
Add a mandatory or forbidden rule to a specified template to enforce memory guidelines.
Instructions
Add a rule to a template (by template name). rule_type is 'mandatory' or 'forbidden'.
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": {
"template": "<template>",
"rule_type": "<rule_type>",
"title": "<title>",
"content": "<content>"
},
"name": "memory_add_template_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| content | Yes | ||
| priority | No | ||
| template | Yes | ||
| rule_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||