get_pdf_outline
Extract the table of contents or bookmarks from a PDF file, returning a hierarchical outline with page numbers.
Instructions
获取PDF的书签/目录结构(大纲)。
Args: file_path: PDF文件的完整路径
Returns: 包含以下信息的字典: - has_outline: 是否有目录 - outline_count: 目录条目数量 - outline: 目录列表,每个元素包含: - level: 层级(1开始) - title: 标题 - page: 页码
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |