learn_state
Read or update magents learning state to manage entries for session handoffs using get, set, clear, decide, trash, or restrict.
Instructions
Read or update magents /learn state. action is get, set, clear, decide, trash, or restrict.
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": {
"action": "<action>"
},
"name": "learn_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Action id for decide (A1, A2, …) | |
| kind | No | ||
| mode | No | ||
| note | No | ||
| path | No | ||
| undo | No | ||
| paths | No | ||
| scope | No | ||
| action | Yes | get, set, clear, decide, trash, or restrict | |
| status | No | ||
| target | No | ||
| run_dir | No | ||
| decision | No | applied | rejected | deferred | |
| run_name | No | ||
| item_action | No | create | edit | enable | disable | delete | propose | ask |