remove_variant
Remove a variant from a variable group.
Remove a variant from a variable group.
Destructive · Writes data · Idempotent · Calls external systems. This tool can modify or delete data. Review the arguments before letting an agent call it.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
acknowledge | boolean | Yes | Must be true to confirm the remove |
force | boolean | No | Bypass the non-default-values safety check (default false) |
group_id | number | Yes | Variable group id |
variant_id | number | Yes | Variant id to remove |
Example arguments
Illustrative arguments an agent supplies when calling this tool:
{
"group_id": 0,
"variant_id": 0,
"acknowledge": false
}
Description
Safe by default: refuses if any variable in the group has a non-default value for this variant — the response names the variables that would lose data. force=true bypasses the safety check.
What's next?
Last updated on