get_pdf_metadata
Read PDF metadata, including standard fields and optional XMP metadata, to inspect document properties.
Instructions
Read PDF metadata including standard fields and optionally XMP metadata.
Args:
file_path: Path to PDF file
include_xmp: Whether to include advanced XMP metadata (default: False)
Returns:
JSON string with comprehensive metadata information
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": {
"file_path": "<file_path>"
},
"name": "get_pdf_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| include_xmp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |