brain_lesson
Save reusable lessons from agent experiences into knowledge/agent-lessons/ and trigger automatic reindexing so the vault remains searchable.
Instructions
Persist a reusable lesson under knowledge/agent-lessons/. Auto-reindexes.
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": {
"agent": "<agent>",
"category": "<category>",
"body": "<body>"
},
"name": "brain_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| agent | Yes | ||
| context | No | ||
| category | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |