sp_document_contents
Automatically detected sections/subsections/appendices with exact source text offsets. Repeated contents/body headings resolve to the later body occurrence. Not a certified official TOC.
Instructions
Automatically detected sections/subsections/appendices with exact source text offsets. Repeated contents/body headings resolve to the later body occurrence. Not a certified official TOC. expanded includes numbered clauses, deep subclauses and lettered subpoints with source offsets. query searches every detected item's full source text; use pagination for long documents.
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_document_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| offset | No | ||
| expanded | No | ||
| snapshot_id | Yes |