get_pdf_metadata
Extract metadata such as title, author, and page count from any PDF by providing its base64 content. Returns a JSON object with the extracted fields.
Instructions
Get metadata (title, author, page count, etc.) from a PDF.
Args: pdf_base64: Base64-encoded PDF file.
Returns: JSON string with metadata fields.
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": {
"pdf_base64": "<pdf_base64>"
},
"name": "get_pdf_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_base64 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |