rename_variable
Rename a stock, flow, or auxiliary variable in a Stella model and automatically update all dependent references to keep the model consistent.
Instructions
Rename a stock/flow/aux and update dependent references
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | No | Session-scoped model ID. Optional; defaults to the current model for this session. | |
| new_name | Yes | New variable name | |
| old_name | Yes | Existing variable name | |
| workspace_id | No | Opaque application workspace handle. Required by MCP 2026-07-28 clients; supported legacy stdio clients may omit it to use the process-local compatibility workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| new_key | Yes | ||
| model_id | Yes | ||
| new_name | Yes | ||
| old_name | Yes |