set_alt_text
Sets the accessibility alt text for a visual in a Power BI report, enabling screen readers to describe it.
Instructions
Set a visual's ACCESSIBILITY ALT TEXT (read by screen readers): written to singleVisual.objects.general.altText.
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>",
"text": "<text>"
},
"name": "set_alt_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | page name or displayName | |
| text | Yes | the alt text | |
| visual | Yes | visual name (from list_visuals) | |
| reportSessionId | Yes |