Delete List Item
Command description
Deletes an item from a list by position or value. This command modifies the original list and does not create a new list variable.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| List | list | List to modify |
| Deletion Method | enum | By Position, By Value |
| Item Position | int or str | Required for By Position. Positions are zero-based and may be negative. |
| Item to Delete | any | Required for By Value. Only the first matching item is deleted. |
Command Output Parameters
None.
AI Workflow Generation Notes
- The command deletes in place and has no output variable. Positions are zero-based, may be negative, and must be within the list bounds.