pdf_extract_text
Extract text content from PDF files. Specify a page range or extract all pages.
Instructions
从 PDF 文件中提取文本内容。
支持提取所有页面或指定页面范围的文本。页面之间用换行符分隔。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | PDF 文件路径(支持相对路径和绝对路径) | |
| page_range | No | 页码范围 (start, end),1-based,None 表示提取所有页面。例如 [1, 5] 表示第 1 到第 5 页 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |