set_element_visibility
Controls visibility of report elements like Tablix, Textbox, or Image by setting a hidden expression and optionally linking a toggle textbox for expand/collapse.
Instructions
Set on any named ReportItem (Tablix, Textbox, Image, Rectangle, Subreport, Chart). For group-level visibility use set_group_visibility; for detail-row use set_detail_row_visibility. toggle_textbox optionally points at a textbox name that toggles expand/collapse.
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": {
"path": "<path>",
"element_name": "<element_name>",
"hidden_expression": "<hidden_expression>"
},
"name": "set_element_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| element_name | Yes | ||
| toggle_textbox | No | ||
| hidden_expression | Yes |