sp_read_document
Read bounded text from a saved document snapshot at exact character offsets, paginate with offset and limit, and verify original bytes against expected_sha256.
Instructions
Read bounded source text at literal character offsets; paginate with next_offset. Every call verifies saved original bytes. Pin expected_sha256 from the open result.
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": {
"snapshot_id": "<snapshot_id>"
},
"name": "sp_read_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| snapshot_id | Yes | ||
| expected_sha256 | No |