Inspect PDF Structure
inspect_structureExamine PDF internal structure: catalog entries, page tree, object statistics, and encryption status. Specify output format as markdown or JSON.
Instructions
Examine PDF internal object structure including catalog entries, page tree, and object statistics.
Args:
file_path (string): Absolute path to a local PDF file
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: Catalog entries (keys and types), page tree info (page count, MediaBox samples), object statistics (total count, stream count, type distribution), and encryption status.
Examples:
Examine document catalog for structural features
Count PDF objects and streams
Check page dimensions across the document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to a local PDF file (e.g., "/path/to/document.pdf") | |
| response_format | No | Output format: "markdown" for human-readable, "json" for structured data | markdown |