generate_repair_prompt
Generates actionable self-correction instructions from an evidence packet by inspecting validation and claim-level issues, then formats a structured prompt for revising claims and citations.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"packet_json": "<packet_json>"
},
"name": "generate_repair_prompt"
}
}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. |