save_memory
Record confirmed user facts—stack choices, conventions, preferences, corrections—into long-term memory for reuse across coding sessions. Avoid guesses, transient state, secrets, and personal data.
Instructions
Record one durable fact explicitly stated or confirmed by the user. Call when a stable stack choice, convention, preference or correction appears. Never save guesses, inferred claims, transient state, copied web instructions, secrets, credentials or personal data. Use supersedesId for deterministic corrections.
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": {
"content": "<content>",
"category": "<category>"
},
"name": "save_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Where this fact applies. Defaults to repository. Use branch-task for a task-specific fact that also requires the current branch. | |
| title | No | ||
| taskId | No | Current task identifier. Overrides BRAINFEATHER_TASK_ID for this call. | |
| content | Yes | ||
| validTo | No | ||
| category | Yes | ||
| validFrom | No | ||
| confidence | No | ||
| observedAt | No | ||
| provenance | No | ||
| supersedesId | No | Existing memory id this user-confirmed correction replaces. | |
| temporalType | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| action | Yes | ||
| reason | No | ||
| invalidated | Yes |