Delete Variables
variable_deleteDelete specific variables or an entire collection with consumer check to prevent removal of variables still in use.
Instructions
Delete specific variables or an entire collection. Runs a full-document consumer check first and rejects the whole operation if any target is still in use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variableIds | No | Array of variable IDs to delete. Mutually exclusive with collectionId. | |
| collectionId | No | ID of a variable collection to delete. Mutually exclusive with variableIds. | |
| variableNames | No | Array of variable names corresponding to variableIds, for safety verification. Required if variableIds is used. | |
| collectionName | No | Name of the collection to delete, for safety verification. Required if collectionId is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Status message | |
| success | No | Whether variables were deleted successfully |