list_visual_data_roles
List all valid query data roles for any Power BI visual type, including accepted field types (Grouping/Measure), per-role field caps, and deprecated aliases. Hand-curated metadata ensures accurate coverage for mainstream visuals.
Instructions
The QUERY data roles a visual type takes (Category / Y / Series / Values / Rows / ...), each with what it accepts (Grouping | Measure | GroupingOrMeasure), its per-role field cap, and the deprecated -> modern type mapping (card -> cardVisual, table -> tableEx, matrix -> pivotTable). Role metadata is HAND-CURATED for the mainstream visual types because the bundled theme schema only describes formatting cards, not query roles - coverage is reported honestly (curated | none). The role half of the discovery surface; list_visual_properties is the formatting half.
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": {
"visualType": "<visualType>"
},
"name": "list_visual_data_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visualType | Yes | a visualType key, e.g. clusteredColumnChart, tableEx, scatterChart (deprecated aliases accepted) |