Skip to content

Conversation

@sf-ali-mahmoud
Copy link

feat(workbooks): add tools to generate TWB and inject basic viz

Description

  • Add generate-workbook-xml tool to produce a Tableau TWB (XML) string that connects to a published data source.
  • Add inject-viz-into-workbook-xml tool to inject a basic visualization into a worksheet by wiring fields to Columns/Rows and adding datasource dependencies.
  • Wire new tools into src/tools/tools.ts and register names/groups in src/tools/toolName.ts.
  • Update README.md with usage, parameters, and behavior for both tools.

Motivation and Context

Enables programmatic generation of Tableau workbooks and simple visualization injection to streamline automation and MCP-based workflows.

Type of Change

  • New feature
  • Bug fix
  • Breaking change
  • Documentation update
  • Other

How Has This Been Tested?

  • Local validation of XML generation and sheet injection on sample inputs.
  • Verified XML structure and presence of expected nodes (datasources, view, rows, cols).

Related Issues

N/A

Checklist

  • Version bumped with npm run version
  • Documentation updated (README.md)
  • Tests added
  • All tests pass locally

@sf-ali-mahmoud sf-ali-mahmoud self-assigned this Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants