add_set
Create a Tableau set (datasource filter-group) for membership logic.
Instructions
Create a Tableau set (datasource filter-group) for membership logic.
Use basis_field + top_n to build a top-N set (e.g. Top Central ranked by SUM(Central - Qty)); omit both to create an empty set used as a Set Action target (e.g. Highlighted Manufacturer).
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": {
"set_name": "<set_name>",
"dimension_field": "<dimension_field>"
},
"name": "add_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| members | No | ||
| use_all | No | ||
| set_name | Yes | ||
| direction | No | DESC | |
| aggregation | No | Sum | |
| basis_field | No | ||
| internal_name | No | ||
| dimension_field | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |