generate_repair_prompt
Generate self-correction prompts for LLM agents from evidence packet issues: missing sources, misquoted excerpts, unmatched numbers, polarity mismatches, weak lexical support.
Instructions
Generate actionable self-correction instructions for an LLM agent from an evidence packet request. Inspects validation and claim-level issues (missing sources, misquoted excerpts, unmatched numbers, polarity/negation mismatches, weak lexical support) and formats a structured markdown prompt for the agent to revise its claims and citations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packet_json | Yes | Evidence packet request JSON to analyze and generate repair instructions for. Call get_schema('evidence_packet_request') for the full nested contract. |