brain_encode
Store a durable learning — a fix, constraint, preference, or decision — as a Markdown note addressed to the next agent, so coding agents keep long-term memory across sessions.
Instructions
Store one durable learning: a fix that worked, a constraint, a preference, a decision.
Start the body with a 2-3 sentence blockquote addressed to the next agent.
Pick an existing cortex when one fits (see brain_list); create a new one only for a new theme.
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": {
"title": "<title>",
"body": "<body>",
"cortex": "<cortex>"
},
"name": "brain_encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| tags | No | ||
| type | No | fact | |
| title | Yes | ||
| cortex | Yes | ||
| confidence | No | ||
| description | No |