get_text_v1
Retrieve Jewish texts from Sefaria by reference, with optional language, version, and surrounding context. Solves locating specific passages for study or research through a legacy API.
Instructions
Legacy v1 text endpoint. Use get_text instead when possible.
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": {
"tref": "<tref>"
},
"name": "get_text_v1"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tref | Yes | The text reference. | |
| context | No | Optional: Number of surrounding sections. | |
| version | No | Optional: Specific version. | |
| language | No | Optional: Language code ('en' or 'he'). |