memkernel_query_state
Returns branch memory as JSON—tasks, decisions, active workspace facts, execution blockers, claims, leases, notices, events—and optional raw logs/scratchpad notes for coordination and audit.
Instructions
Return the consolidated memory of a branch as JSON: tasks, decisions, active workspace facts, deprecated assumptions, execution blockers, file claims, active leases, workspace-wide coordination notices and recent events. Set include_ephemeral=true to also see raw tool-execution logs and scratchpad notes not yet compacted.
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": "memkernel_query_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch_id | No | ||
| notice_offset | No | ||
| notice_resource | No | ||
| include_ephemeral | No | ||
| notice_token_budget | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |