verify_citations
Checks all [[id]] citations in a text against the wiki and returns valid and invalid IDs, detecting hallucinated references after an LLM response.
Instructions
주어진 텍스트의 모든 [[id]] 인용을 wiki와 대조 — hallucination 검출.
LLM 응답 직후 호출하면 존재하지 않는 ID를 인용했는지 확인 가능.
Args: text: 검증할 텍스트 (LLM 응답)
Returns: 총 인용 수, 유효, 무효 ID 목록
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": {
"text": "<text>"
},
"name": "verify_citations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |