tmh_verify_evidence
Verify a file:line or file:start-end citation against a repository and return the exact source lines. Use it to catch hallucinated references before trusting code claims.
Instructions
Anti-hallucination source citation verifier: check a file:line or file:start-end reference against the repository and return exact lines.
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": {
"ref": "<ref>"
},
"name": "tmh_verify_evidence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Source reference in file:line or file:start-end format. | |
| repoPath | No | Local repository path (optional if server started with --repo). |