screenshot_workbook
Screenshot a published workbook's view for human review.
Instructions
Screenshot a published workbook's view for human review.
Use after upload_workbook to capture a visual snapshot. The screenshot is saved locally for human inspection.
Args: workbook_id: The workbook ID returned by upload_workbook. output_dir: Directory to save screenshot (default: output/validation). view_index: Index of the view to screenshot (default: 0). view_name: Name of the view to screenshot (overrides view_index). env_path: Optional path to a .env file with Tableau credentials. Explicit env_path takes priority over process environment variables.
Returns: {success, path, view_name, view_id, size_kb, error}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_path | No | ||
| view_name | No | ||
| output_dir | No | output/validation | |
| view_index | No | ||
| workbook_id | Yes |