get_metadata
Inspect a local PDF’s properties and structure—page count, title, author, dates, format, encryption, forms, signatures, bookmarks, and pages needing vision—to decide how to read it.
Instructions
What a local PDF is, before reading it.
pages, title, author, subject, created, modified,
format (the PDF version), encrypted with the encryption filter
name, has_forms with the form_fields count, the number of
signatures and bookmarks, and pages_needing_vision: the 0-based
pages that draw ink but carry no text layer. A document that needs a
password to open answers encrypted: true and needs_password: true
and nothing else.
Args: path: The PDF's absolute path on this machine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |