rename_parameter
Renames a report parameter and updates all references to the old parameter name (Value/Label) throughout the entire report, with atomic commit and error handling for duplicate or identical names.
Instructions
Rename a ReportParameter and rewrite every textual occurrence of Parameters!<old_name>.Value / .Label across the entire report. Case-sensitive. Atomic: collects all matches first, then commits. Errors if new_name already exists or equals old_name.
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>",
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "rename_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| new_name | Yes | ||
| old_name | Yes |