read_passage
Fetch the full text behind a DigUp search result by segment_id, including optional neighboring pages, passages, or code context.
Instructions
Read the text of a digup search match (segment_id).
The full text of the matched page, passage or code stretch, as DigUp read it.
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": {
"segment_id": "<segment_id>"
},
"name": "read_passage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | True for a segment_id from search_code. | |
| context | No | Also return this many neighbouring pages or passages on each side. | |
| segment_id | Yes | segment_id from a search result. |