get_pdf_page_resources
Retrieve all inherited resources, fonts, XObjects, and annotations for a specific PDF page to debug its resource structure.
Instructions
Return a page's inherited Resources plus Fonts, XObjects, Annots, and related resource 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>",
"pageNumber": "<pageNumber>"
},
"name": "get_pdf_page_resources"
}
}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. | |
| pageNumber | Yes | 1-based page number. |