Get Page Content
get_page_contentExtract text from specific pages or tree nodes of an indexed PDF document. Provide doc_id and either node_id or page range to retrieve raw content.
Instructions
Extracts text content from specific pages or a tree node of an indexed document. Use get_document_tree first to find relevant node_ids, then call this to read the content. Claude Code handles all reasoning — this tool just returns raw text.
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": {
"doc_id": "<doc_id>"
},
"name": "get_page_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Document ID (must be indexed first with index_document) | |
| node_id | No | Tree node ID to extract content from (use get_document_tree to find IDs) | |
| end_page | No | End page number (alternative to node_id) | |
| start_page | No | Start page number (alternative to node_id) |