extract_tables
Extracts table-like structures from PDFs, CSVs, and text files by detecting pipe-, tab-, or multi-space-delimited columns, returning structured tabular data for analysis. Read-only.
Instructions
Extract table-like structures from a document, detecting pipe-delimited, tab-delimited, and multi-space-delimited columns. Use this when you need structured tabular data from a PDF, CSV, or text file. Read-only.
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": {
"filename": "<filename>"
},
"name": "extract_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Optional page number for PDFs (1-based). If omitted, extracts from all pages. | |
| filename | Yes | The document filename to extract tables from |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tables | Yes |