get_text
Fetch a sutta by id (e.g. "dn22", "mn1", "sn56.11") — the Pali text (Mahāsaṅgīti) of every segment. Pali only by default; pass langs for translations, translators to name a translator (e.g. ["en_sujato"]), editions for the whole text of other Pali editions line by line (the whole canon, see compare_editions). Same data as dhamma.gift/api/text.
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": {
"suttaId": "<suttaId>"
},
"name": "get_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| langs | No | Translation languages to include, e.g. ["ru","en"]. Default: none (Pali only). | |
| suttaId | Yes | Sutta id, e.g. dn22, mn1, sn56.11. | |
| editions | No | Other Pali editions to add, each segment beside the Mahāsaṅgīti: bjt (Buddha Jayanti, Sri Lanka), my (Chaṭṭha Saṅgāyana, Myanmar), th (Siam Rath, Thailand), mso (Mahāsaṅgīti as printed, 2005), pts (Pali Text Society), or ["all"]. The whole canon (gaps: https://dhamma.gift/docs/compare). | |
| translators | No | Explicit translator keys, e.g. ["en_sujato"] to include Sujato. |