get_pdf_info
Extract metadata from PDF files including page count, title, author, subject, dates, file size, and encryption status.
Instructions
获取PDF文件的基本信息。
Args: file_path: PDF文件的完整路径
Returns: 包含以下信息的字典: - page_count: 页数 - title: 标题 - author: 作者 - subject: 主题 - creator: 创建程序 - producer: 生成程序 - creation_date: 创建日期 - modification_date: 修改日期 - file_size: 文件大小(字节) - file_size_mb: 文件大小(MB) - is_encrypted: 是否加密
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_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |