export_table_to_csv
Export any table from the loaded CSV database to a CSV file. Choose the output path and whether to include headers.
Instructions
Export a table to a CSV file.
Args: table_name: Name of the table to export output_path: Path for the output CSV file include_header: Whether to include column headers
Returns: Status 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_name": "<table_name>",
"output_path": "<output_path>"
},
"name": "export_table_to_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | ||
| output_path | Yes | ||
| include_header | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |