guard_recall
Find past journal entries and evidence by keyword, tag, type, or evidence id when caps hid the entry you remember. Returns ranked trusted and agent hits; no network access.
Instructions
Search the retained journal and evidence window. No embeddings and no network.
Use it when you remember a word, tag, evidence id, or command but not which
entry it was, including after the brief's caps hid it. Filters combine with
AND. query is a string, default empty. type is an optional string
(decision, correction, risk, note, or evidence), default None.
tags is an optional list of strings, default None. limit is an int,
default 5, clamped to 0–20. evidence_id and cmd are optional strings,
default None. With a query, past bash commands from the retained events
window are also eligible as reuse hints. It returns ranked lines labelled
trusted or agent, then a Nudge. Rows rotated past the third ledger
segment are already gone. Side effects: none. It does not create
.agent-guard/ and does not write the journal or the evidence ledger.
Agent hits stay unverified.
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_recall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | No | Command fingerprint, or a substring of one, matched against verify runs only. String or omitted. Default None. Fingerprint matching is case-sensitive. | |
| tags | No | Tags that must all be present (AND). List of strings, or omitted. Default None. Matching is exact and case-insensitive. Evidence rows have no tags, so any tag filter excludes them. | |
| type | No | Optional row type. String or omitted. One of decision, correction, risk, note, evidence. Default None (every type). Any other string returns an error line. | |
| limit | No | Maximum hits to return. Integer. Default 5. Clamped to 0–20. A non-integer returns an error line. | |
| query | No | Keywords to find, as one string. Default empty, which does not keyword-filter. Case-insensitive; every keyword must match journal text, a verify command, or a digest. A keyword that is itself ev-NNNN also matches that evidence id. Capped at 500 characters and 12 keywords. Stopwords are dropped. | |
| evidence_id | No | Exact evidence id to require, such as ev-0007. String or omitted. Default None. ev-7 and ev-0007 match the same id. A value that is not an evidence id returns an error line. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |