inspect_agent_output
Verify AI agent outputs against ground-truth reference context to detect factual hallucinations and generate a cryptographically signed EIP-191 attestation for publication.
Instructions
Comprehensive security and NLI hallucination inspection for autonomous AI agent outputs against ground truth reference context with cryptographic EIP-191 attestation proof. Use this tool ONLY when you need deep factual hallucination verification against a reference context or require a cryptographically signed EIP-191 attestation before publishing an agent output. Do NOT use this tool for high-throughput, low-latency pre-flight screening where context verification is not required; use verify_agent_output instead. Do NOT use this tool for evaluating Python code AST safety; use inspect_code_ast_safety instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_code | No | Set to true if agent_output is an executable Python or shell script snippet. | |
| agent_output | Yes | The final textual or code output generated by an LLM or autonomous agent to be audited for security and factual integrity. | Quarterly net revenue reached $1.2M with zero infrastructure failures. |
| context_ground_truth | No | Original factual ground-truth reference or retrieval-augmented generation (RAG) context to verify numerical consistency and detect hallucinations. | Financial report: Q3 net revenue is $1.2M with 0 server crashes. |