upload_workbook
Publish a .twb/.twbx to Tableau Cloud for openability or screenshots.
Instructions
Publish a .twb/.twbx to Tableau Cloud for openability or screenshots.
Prefer validate_workbook_api for the default cloud semantic validation path because it does not publish or store the workbook. Use upload_workbook only when you explicitly need a published workbook_id, visual screenshot, TWBX packaging validation, or publish/openability evidence.
Args: twb_path: Path to .twb or .twbx file. data_path: Optional data file (.xlsx/.xls/.hyper) to package. name: Workbook name on Tableau Cloud (defaults to filename stem). overwrite: Whether to overwrite existing workbook with same name. env_path: Optional path to a .env file with Tableau credentials. Explicit env_path takes priority over process environment variables.
Returns: {success, workbook_id, workbook_url, views, twbx_path, twbx_size_kb, error}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| env_path | No | ||
| twb_path | Yes | ||
| data_path | No | ||
| overwrite | No |