set_drilldown
Set drill-down options on a visual's hierarchical axis: enable expand-to-next-level or drill-on-click. Requires at least one toggle to control user interaction with multi-level data.
Instructions
Set DRILL-DOWN behaviour on a visual with a drillable (hierarchy/multi-level) axis: expandToNextLevel (a click expands to the next level rather than drilling) and drillOnClick (single-click drills). Seeds the saved drill state (expansionStates). Set at least one toggle.
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": {
"reportSessionId": "<reportSessionId>",
"page": "<page>",
"visual": "<visual>"
},
"name": "set_drilldown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | page name or displayName | |
| visual | Yes | visual name (from list_visuals) | |
| drillOnClick | No | single-click drills down | |
| reportSessionId | Yes | ||
| expandToNextLevel | No | expand to the next level on click |