table_to_csv
Exports a table from a document to a CSV file by specifying the table index and output path. Supports custom delimiters.
Instructions
Export a table from the document to a CSV file.
Args: table_index: Index of the table to export output_path: Path for the output CSV file delimiter: Column delimiter (default comma)
Returns: Success or error message
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": {
"table_index": "<table_index>",
"output_path": "<output_path>"
},
"name": "table_to_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delimiter | No | , | |
| output_path | Yes | ||
| table_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |