add_rule
Create neuro-symbolic rules to filter or rerank memory recall results based on specified conditions, enhancing retrieval accuracy in the Cortex memory system.
Instructions
Add a neuro-symbolic rule to the memory store. Rules hard-filter or soft-rerank recall results based on conditions.
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": {
"condition": "<condition>",
"action": "<action>"
},
"name": "add_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | Yes | ||
| action | Yes | ||
| rule_type | No | soft | |
| scope | No | global | |
| scope_value | No | ||
| priority | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |