generate_workbook
Generate a Tableau workbook from a CSV file and a natural-language dashboard description, returning the saved file path.
Instructions
Generate a Tableau workbook (.twb or .twbx) from a CSV file and a natural-language prompt. Returns the path to the generated workbook.
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": {
"csv_path": "<csv_path>",
"prompt": "<prompt>",
"output_path": "<output_path>"
},
"name": "generate_workbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Optional style hint: 'corporate', 'executive', 'analytical', or a custom description. | |
| prompt | Yes | Natural-language description of the dashboard to generate (e.g. 'quarterly revenue by region with YoY comparison'). | |
| csv_path | Yes | Absolute path to the source CSV file. | |
| output_path | Yes | Absolute path where the generated workbook should be saved. Extension determines format (.twb or .twbx). |