rename_vensim_variable
Rename a Vensim variable across its equation, all dependent equations, and the diagram; writes in place with a backup or to a specified output path.
Instructions
Rename a variable everywhere: its equation, every equation that uses it, and the diagram.
Writes in place (a backup is kept) unless output_path is given.
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": {
"model_path": "<model_path>",
"old_name": "<old_name>",
"new_name": "<new_name>"
},
"name": "rename_vensim_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | ||
| old_name | Yes | ||
| model_path | Yes | ||
| output_path | No |