build_workbook
Compiles a declarative JSON spec into a Tableau Public workbook (.twb) and packaged .twbx with Hyper extracts, ready to publish.
Instructions
PRIMARY TOOL. Compile a specification into a .twb and packaged .twbx with Hyper extracts (required by Tableau Public). Writes files to the spec's output.directory. The .twb is byte-deterministic for an identical spec; the .twbx digest is not, because the embedded Hyper extract carries non-deterministic state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Declarative description of a Tableau workbook to generate. Unknown properties are rejected everywhere. Generated from tableau_public_authoring.models.spec.spec_json_schema(); edit that function, never this file. Structural validation only - the server additionally checks cross-references, field existence and encoding compatibility, so a valid document here can still be rejected. | |
| overwrite | No | Replace files in the output directory that this server did not generate. Rebuilding the same workbook does not require it. |