pdf_extract_page
Extract every object from a specified PDF page—including text, words, rectangles, lines, curves, images, and tables—to inspect layout and detect tables.
Instructions
Extract every object of one page: characters, words, rectangles, lines, curves, images and tables.
page is 1-based and must be within the document. The result is one PageData
object (width, height and one array per object type), suitable for
inspecting layout, text runs and detected tables. Very large pages are rejected:
use pdf_export with output_path for those.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | 1-based page number. | |
| path | Yes | Path to the PDF: absolute, or relative to the server process working directory. Any readable regular file is accepted; the .pdf suffix is not required. | |
| password | No | Password for an encrypted PDF. Omit or pass null for unprotected documents. |