select_visuals_for_kpis
Recommend optimal chart types and configurations for KPIs, with primary and alternative suggestions tailored to executive, analytical, or operational audiences.
Instructions
Recommend optimal visual types and chart configurations for given KPIs.
Use this tool when the user asks to:
Choose the best charts or visual types for a specific set of KPIs or metrics.
Tailor visual recommendations to an audience ('executive', 'analytical', 'operational').
Get primary and alternative chart suggestions with rationale based on data types.
Args: kpis_json: List of KPIs or JSON string (each with name, semantic_type, fields, etc.). audience: Target persona ("executive", "analytical", "operational"). max_results: Maximum number of alternative visual recommendations per KPI. inspector: Optional model inspector providing column cardinality and schema info.
Returns: Dict with recommended primary visual, alternatives, and rationale for each KPI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audience | No | executive | |
| inspector | No | ||
| kpis_json | Yes | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||