Working context
crbro_contextRead and update a project's working context—active topics and open items—so you can add, resolve, or discard pending tasks and review recent closures.
Instructions
Read or write the working context: active topics and open items. With no change field it reads (written:false) everything: each open item whole with due and done_when, and recently closed. A write returns what changed and the counts (return_context:true for the whole context). Scope: this connection's project plus global items; scope=all spans every project. resolve_pending closes items (the last 15 stay in recently_closed); discard_pending drops them without recording them as done. Prefer ids. Nothing is deleted by age. Sessions are logged by crbro_consolidate.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "crbro_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | No | With add_pending: a calendar day YYYY-MM-DD, only when agreed. | |
| clear | No | Empty topics, open and closed items (of the project only, when scoped), before the rest. | |
| scope | No | all spans every project. | |
| project | No | Project id or alias; default the boot project. | |
| done_when | No | With add_pending: an observable completion condition. | |
| set_topics | No | Replace the active topics with these neuron ids. | |
| add_pending | No | An open item, checkable later. Identical text is deduplicated; re-adding updates due and done_when. | |
| return_context | No | With a write: return the whole context instead of the change and counts. | |
| discard_pending | No | Drop items, same matcher, without recording them as done. | |
| resolve_pending | No | Close items by id ("p_ab12cd") or 8+ characters of their text; several can match. Empty resolved = no match. |