guard_journal
Read recent journal entries after a compaction or capped brief to recover older decisions, corrections, risks, or notes that the brief left out.
Instructions
Read recent journal entries back after a compaction or a capped brief.
Use it when the brief hid older decisions, corrections, risks, or the
agent's own notes and you need the stored line, not a search. For a
keyword, tag, or evidence-id search, use guard_recall instead. limit
is an int, default 5, clamped to 0–20. type is an optional string,
default None; when set it must be decision, correction, risk, or
note. It returns PC journal · last N of TOTAL (or PC journal <type>
when filtered), one line per entry (timestamp · type · text [tags]), and
a Nudge. Side effects: none. It does not create .agent-guard/, does not
append, and does not promote an agent tag to trusted.
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": "guard_journal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Optional type filter. String or omitted. One of decision, correction, risk, note. Default None, which returns every type. Any other string returns an error line. | |
| limit | No | How many newest journal entries to return. Integer. Default 5. Clamped to 0–20; 0 returns the header and nudge only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |