extract_tables
Extract all tables from a document, providing structured data with page number, table dimensions, markdown, and cell rows.
Instructions
Extract all tables from a document.
Returns a list of {page, index, num_rows, num_cols, markdown, rows}.
Each rows entry is a list of cell strings (row-major).
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": {
"source": "<source>"
},
"name": "extract_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| ocr_languages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |