extract_table
Extract tables from PDFs with cross-page merge and configurable export (JSON, CSV, XLSX) to convert documents into structured data for analysis.
Instructions
extract_table tool:表格抽取(跨页 + 大表分层,M4,T04)。
Args: pdf_path: PDF 路径(必填)。 pages: 页号(int | list[int] | None;1-based)。 cross_page: 是否跨页合并(bool,默认 true)。 format: 导出格式(str | list[str];json/csv/xlsx 多选;默认 "json")。 render: 是否渲染页图(bool,默认 true)。
Returns: 结构化 JSON 文本(tables.json 汇总)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| format | No | json | |
| render | No | ||
| pdf_path | Yes | ||
| cross_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |