get_workbook_image
Fetches a Tableau Public view image, rescales it to fit size limits, and compresses it to 150-400KB while preserving text detail, saving it to disk and returning the file path and metadata.
Instructions
Fetches and optimizes a Tableau Public visualization image, saving it to the filesystem. Scales down images larger than 768px (maintaining aspect ratio) and compresses to 150-400KB target size. Preserves text detail important for dashboard analysis. Returns the file path where the optimized image is saved, along with metadata about size and compression. Requires the workbook repository URL and view name. View names should have spaces and periods removed (e.g., 'Dashboard 1' -> 'Dashboard1').
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": {
"workbookUrl": "<workbookUrl>",
"viewName": "<viewName>",
"maxWidth": "<maxWidth>",
"maxHeight": "<maxHeight>",
"quality": "<quality>",
"format": "<format>"
},
"name": "get_workbook_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| quality | Yes | ||
| maxWidth | Yes | ||
| viewName | Yes | ||
| maxHeight | Yes | ||
| workbookUrl | Yes |