Follow links between verses, works and rooms
follow_linksWalk the shelf as a graph from a verse, a work or a room: which works quote a verse, which verses and rooms a work touches, which works a room names, and on again, as many steps as asked (default 1), with the quotation on every edge and a link to open it. Start from "John 1:1" (or "verse:JHN.1.1"), "work:" or "room:". Everything found is returned, in a fixed order; limit and offset are there only if you want to page. It follows the published index: the indexed verses and the Enoch and Melchizedek rooms, so a short answer is the edge of the index, not the edge of the library.
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": {
"from": "<from>"
},
"name": "follow_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Start node: a verse like "JHN.1.1" or "John 1:1", "work:<shelf id>", or "room:enoch" / "room:melchizedek". | |
| depth | No | How many steps to walk. Default 1. | |
| limit | No | Optional: return this many edges at a time. Default: all of them. | |
| offset | No | Optional: skip this many edges (use next_offset from the previous answer). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Permanent scriptura.si link. | |
| cite | No | Ready citation naming Scriptura, ending with the link. | |
| code | No | ||
| from | No | ||
| hint | No | ||
| note | No | ||
| depth | No | ||
| edges | No | ||
| error | No | What went wrong, in plain words. | |
| nodes | No | ||
| rooms | No | ||
| offset | No | ||
| indexed | No | ||
| next_offset | No | ||
| suggestions | No | ||
| total_edges | No |