Read a passage
get_passageRead a passage by its ref: the Arabic text, its stored translation when there is one, its citation, the edition's attribution and neighbouring passages.
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": "get_passage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | A passage ref from search. | |
| context | No | Neighbouring passages of the same edition to add on each side. | |
| language | No | Language of titles and of the translation attached. | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| url | Yes | ||
| kind | Yes | ||
| text | Yes | The Arabic text as the edition prints it. | |
| work | Yes | ||
| after | Yes | ||
| before | Yes | ||
| citation | Yes | ||
| attribution | Yes | ||
| translation | Yes |