Set List Item
Command description
Replaces the item at a specified position. Positions are zero-based and may be negative; -1 refers to the last item.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| List | list | List to modify |
| Item Position | int or str | Zero-based index of the item to replace. Negative indexes are supported. |
| Replacement Item | any | New value for the item |
Command Output Parameters
None.
AI Workflow Generation Notes
- The command modifies the list in place. Item Position is zero-based, may be negative, and must be within the list bounds.