get_variable

Fetch a single variable with all its per-variant values.

Fetch a single variable with all its per-variant values.

Read-only · Calls external systems. Safe to call: this tool does not modify data.

Parameters

FieldTypeRequiredDescription
variable_idnumberYesVariable id
with_usagebooleanNoIf true, augment the response with the list of tests using this variable. Default false.

Example arguments

Illustrative arguments an agent supplies when calling this tool:

{
  "variable_id": 0
}

Description

Secrets remain masked.

Compact by default — returns just the variable. Set with_usage=true to also embed the list of tests referencing it; the response is then wrapped as {variable, usage}.

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