update_stock
Update stock fields such as name, units, initial value, and position in a Stella model while preserving relationships. Optionally set non-negative constraint.
Instructions
Update stock fields while preserving relationships
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position | |
| y | No | Y position | |
| name | Yes | Stock name | |
| units | No | Units | |
| model_id | No | Session-scoped model ID. Optional; defaults to the current model for this session. | |
| non_negative | No | Prevent negative values | |
| initial_value | No | Initial value |