get_pdf_document_info
Extract PDF document info: header, trailer, catalog, cross-reference style summary, page count, and indirect object count.
Instructions
Return PDF header, trailer, catalog, xref style summary, page count, and indirect object count.
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_document_info"
}
}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. |