pbi_create_visual
Create a Power BI visual (PBIR) on a report page by specifying visual type, fields, and position. It reuses an existing visual of the same type as a template and creates a backup.
Instructions
Crea un visual PBIR en una pagina.
visual_type: card|table|matrix|slicer|barChart|columnChart|lineChart|pieChart.
fields: roles logicos -> campos, p.ej. {"category":"Tabla[Col]",
"values":["[Medida]"], "legend":"Tabla[Col]"}.
position: {x, y, width, height} (z opcional).
Clona un visual del mismo tipo como plantilla si existe. Hace backup.
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": {
"page": "<page>",
"visual_type": "<visual_type>",
"fields": "<fields>",
"position": "<position>"
},
"name": "pbi_create_visual"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| title | No | ||
| fields | Yes | ||
| position | Yes | ||
| request_id | No | ||
| visual_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |