set_parameter_available_values
Set or clear valid values for a report parameter using a static list or a query reference to a lookup dataset.
Instructions
Set or clear on a report parameter. source='static' with a non-empty static_values writes a list of entries (each entry can be a string or {value, label} dict). source='static' with static_values=[] or omitted CLEARS the element entirely (mirrors set_parameter_prompt('') and returns cleared=true). source='query' writes a to a lookup dataset. Replaces any existing block.
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>",
"name": "<name>",
"source": "<source>"
},
"name": "set_parameter_available_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| source | Yes | ||
| query_dataset | No | ||
| static_values | No | ||
| query_label_field | No | ||
| query_value_field | No |