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.
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": {
"path": "<path>"
},
"name": "get_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |