get_twbx_calculation_dependencies
Build a dependency graph of Tableau workbook calculations to reveal hierarchy, roots, leaves, and circular references. Use the TWB path from unpack_twbx to analyze calculation chains.
Instructions
Builds a dependency graph showing which calculations depend on which in a Tableau workbook. Shows calculation hierarchy with depth levels, identifies root calculations (depend only on source fields), leaf calculations (nothing depends on them), and detects circular dependencies. Includes an ASCII tree visualization. Ideal for understanding complex calculation chains. Use with the mainTwbPath from unpack_twbx output.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"twbFilePath": "<twbFilePath>",
"includeSourceFields": "<includeSourceFields>"
},
"name": "get_twbx_calculation_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| twbFilePath | Yes | ||
| includeSourceFields | Yes |