export_table
Writes a table from an opened document to a CSV file in the working directory, creating a sidecar notes file when needed and avoiding overwrites unless confirmed.
Instructions
Write one table from a document already opened with read_document to a CSV file in the working directory (default ./mdfi-tables/-.csv, UTF-8 with a header row). The table id comes from the table's label in the page text, e.g. [table p13-t1 — …]. A table with notes gets a .notes.txt file beside the CSV; never overwrites unless overwrite=true. Only once the document is ready. Free: never charges.
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": {
"document_id": "<document_id>",
"table": "<table>"
},
"name": "export_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| table | Yes | ||
| overwrite | No | ||
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |