update_learning
Correct an existing lesson in place by fixing its wording or lowering its importance, so stale or over-weighted guidance can be revised without creating a duplicate.
Instructions
Fix an existing lesson in place — correct its wording or lower its importance.
Prefer this over adding a near-duplicate when a lesson is merely wrong, stale in detail, or
over-weighted; use ``deprecate_learning`` when it should stop firing altogether. Omitted
fields are left unchanged (to *clear* one: ``qmx update-learning --clear-detail``).
Returns the updated lesson, or ``None`` if ``learning_id`` does not exist.
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": {
"learning_id": "<learning_id>"
},
"name": "update_learning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| scope | No | ||
| topic | No | ||
| detail | No | ||
| statement | No | ||
| importance | No | ||
| learning_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |