Set Contribution Groups
set_contribution_groupsConfigure contribution driver groupings once and persist them so every dashboard viewer sees the same setup. Supports colors and base adjustments with validation against model factors.
Instructions
Persist the driver groupings the dashboard contributions view renders (#436) — configure grouping once and every viewer sees it.
Each group: {"name": str, "drivers": [column names], "color": "#hex"?, "baseAdjustments": {driver: "min"|"max"|"none"}?}. Driver names are validated against the model's media/control/halo/trademark factors (400 with a did-you-mean hint on typos); each driver may belong to at most one group; baseAdjustments must reference the group's own drivers. The special "_channel_color_overrides" pseudo-group carries a channelColors map instead of drivers.
NOTE: this is the CONTRIBUTIONS-VIEW grouping. create_model's channel_groups is the unrelated adstock parameter-sharing feature — do not confuse them.
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": {
"model_hash": "<model_hash>",
"contribution_groups": "<contribution_groups>"
},
"name": "set_contribution_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_hash | Yes | ||
| contribution_groups | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||