lock_filter
Lock a filter in view mode to prevent viewers from changing it. Specify scope (visual, page, or report) and match the filter by table and field.
Instructions
LOCK a filter in view mode (shown in the filter pane but cannot be changed by viewers). scope=visual|page|report (visual needs page+visual; page needs page). Matches the filter on table[field]. Sets the filter's isLockedInViewMode flag.
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>",
"scope": "<scope>",
"table": "<table>",
"field": "<field>"
},
"name": "lock_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | page name (required for scope=visual|page) | |
| field | Yes | field to match | |
| scope | Yes | visual|page|report | |
| table | Yes | table that owns the filter field | |
| locked | No | true = locked, false = unlocked | |
| visual | No | visual name (required for scope=visual) | |
| reportSessionId | Yes |