Read a passage of a space file
read_passageRead one passage by ID or a file's passages at a place, returning text with neighboring passage IDs so you can continue reading.
Instructions
Read one passage of a space file by its id from search_space_files, or a file's passages at a place (file_id + range, e.g. a whole page). Returns the text with the ids of the passages before and after it, to keep reading.
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": {
"space_id": "<space_id>"
},
"name": "read_passage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | With file_id: the place, e.g. "p. 12", "slide 4", "section 3", "12:30" or "lines 40". | |
| file_id | No | Instead of passage_id: a file id from read_space, with range. | |
| space_id | Yes | ||
| passage_id | No | A passage id from search_space_files (or a previous/next id). |