add_variation
Add a date-navigation variation to a column so visuals can navigate through a named relationship to a default hierarchy on the related date table.
Instructions
Add a date-navigation Variation to a column: when the column is used in a visual, the model navigates through the named relationship to a default hierarchy on the related (date) table. isDefault makes it the column's default variation.
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": {
"sessionId": "<sessionId>",
"table": "<table>",
"column": "<column>",
"relationship": "<relationship>",
"defaultHierarchy": "<defaultHierarchy>"
},
"name": "add_variation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | table the column is on | |
| column | Yes | the column to add the variation to | |
| isDefault | No | make this the column's default variation (default true) | |
| sessionId | Yes | ||
| relationship | Yes | the relationship name to navigate through | |
| defaultHierarchy | Yes | the default hierarchy on the related table |