Add a rule
add_ruleSave a standing instruction about how to work with this user, so it applies in every future conversation without being repeated. The rule text is sent to LeapMemory's servers and stored in the user's account, and the user can view, edit, and delete rules in the LeapMemory app. Use this instead of remember when the user states a preference about your behaviour, a convention, or a constraint: how to write, what never to do, how to format an answer. Facts about the user and their world still go to remember. Write the rule in the user's own words, as an instruction, not as a fact about them.
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": {
"text": "<text>"
},
"name": "add_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The rule, as one clear instruction. | |
| scope | No | When it applies. Use 'always' unless the user says it is limited to one project or one kind of work, in which case use that name. |