get_workbook_image
Fetches a Tableau Public visualization, optimizes it by scaling down and compressing to a target size, and returns the saved file path with 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').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| quality | Yes | ||
| maxWidth | Yes | ||
| viewName | Yes | ||
| maxHeight | Yes | ||
| workbookUrl | Yes |