get_pdf_page_tree
Extract the PDF page tree rooted at the catalog /Pages object, showing page references and content streams for debugging PDF structure.
Instructions
Return the PDF page tree rooted at the catalog /Pages object, including page/kids refs and content references.
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": {
"filePath": "<filePath>"
},
"name": "get_pdf_page_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to a PDF file. Relative paths are resolved from the MCP server process cwd. | |
| maxDepth | No | Maximum recursion depth when expanding object references. |