guard_evidence
Retrieve recorded verification runs to recover a past evidence id, exit code, and stored digest without re-running the command.
Instructions
Read recorded verification runs.
Use it to recover a past evidence id, its exit code, and the stored digest
instead of re-running the command. limit is an int, default 5, clamped
to 0–20, and applies only when evidence_id is omitted. evidence_id is
an optional string, default None. With an id, it returns the full single-run
report (the same shape as guard_verify, including why/fix for FAIL and
UNTRUSTED). Without an id, it returns PC evidence · last N of TOTAL, one
line per run, the last digest line of any non-ok row, and a Nudge. Side
effects: none. It does not create .agent-guard/ and does not execute
commands.
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_evidence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many newest verification runs to list when evidence_id is omitted. Integer. Default 5. Clamped to 0–20; 0 returns the header and nudge only. | |
| evidence_id | No | One evidence id to render in full, such as ev-0007. String or omitted. Default None, which lists recent runs. ev-7 and ev-0007 are the same id. An unknown id returns an error line. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |