Find citations in text
find_citationsScan free text for Pāli Canon citations, validate each against the bundled canon, and return character offsets with resolved IDs/titles or failure reasons. Handles mixed schemes offline.
Instructions
Find every Pāli Canon citation in a piece of free text (an essay, a talk transcript, a paper's references) and check each one against the bundled canon. Mixed schemes are understood: MN 10, SN 56:11, AN 3.65, Dhp 183, Snp 1.8, Pj 1, Kd 1, PTS pages like M i 55 or S v 420, Bilara IDs like sn56.11:5.1, and suttacentral.net / accesstoinsight.org / dhammatalks.org links. Returns each citation with its character offsets, the text it names (ID, title) or, when it does not resolve, the reason. Works offline.
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": "find_citations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The free text to scan, up to 200,000 characters. |