Inspect PDF
pdf_inspectReads a PDF's header to return page count, byte size, encryption status, producer, and SHA-256 hash without extracting document content. Use it to inspect metadata and verify files quickly.
Instructions
Read a PDF header: page count, byte size, encryption flag, producer, sha256. No content is returned.
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": "pdf_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | absolute path to the PDF |