extract_table_from_pdf
Extract tables from PDF files and save them as JSON, CSV, or per-table files for further data processing. Converts PDF tables into structured data files.
Instructions
Extract tables from a PDF via PDF4me ExtractTableFromPdf (/api/v2/ExtractTableFromPdf). pdf_file_path; optional output_dir (defaults next to PDF). Saves extracted_tables.json, per-table table_N.json, and table_N.csv when rows are available.
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": {
"pdf_file_path": "<pdf_file_path>"
},
"name": "extract_table_from_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | ||
| pdf_file_path | Yes | ||
| request_doc_name | No |