add_variant
Add a new variant (environment slice) to a variable group.
Add a new variant (environment slice) to a variable group.
Writes data · Calls external systems.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
acknowledge | boolean | No | Reset edit budget after user approval |
group_id | number | Yes | Variable group id |
is_default | boolean | No | Make this the default variant (demotes the prior default) |
name | string | Yes | Variant name (e.g. "canary") |
Example arguments
Illustrative arguments an agent supplies when calling this tool:
{
"group_id": 0,
"name": "string"
}
Description
If is_default=true the prior default is demoted in the same atomic update. The platform auto-fans new variants into existing variables in the group.
What's next?
Last updated on