delete_variable
Delete a variable from a Stella system dynamics model, cleaning connectors and module membership. Force option enables detaching connected flows.
Instructions
Delete a stock/flow/aux and clean connectors/module membership
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | No | Session-scoped model ID. Optional; defaults to the current model for this session. | |
| name | Yes | Variable name to delete | |
| force | No | Allow deleting stocks that still have connected flows (flows are detached) |