fenbs_apply_lesson
Apply a lesson. asNote turns it into an AI context note (category "Lessons learned") -- for a fact or a trap. asRule proposes a rule (a decision with standingRule, status proposed), which binds only once a person decides it. Either or both. The lesson is then marked applied and links to what it became. Needs permission to change tasks.
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": {
"ref": "<ref>"
},
"name": "fenbs_apply_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| asNote | No | true: add an AI context note from it. | |
| asRule | No | true: propose a rule from it, for a person to decide. | |
| noteBody | No | The note's words. Left out: built from the lesson. | |
| ruleText | No | The rule as it should read. Left out: built from the lesson. | |
| noteCategory | No | Defaults to "Lessons learned". |