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

FieldTypeRequiredDescription
acknowledgebooleanNoReset edit budget after user approval
group_idnumberYesVariable group id
is_defaultbooleanNoMake this the default variant (demotes the prior default)
namestringYesVariant 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?

All MCP tools

Browse the full tool reference by category.

Connect a client

Point Claude, Cursor, or Claude Code at the server.

Last updated on