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
| Field | Type | Required | Description |
|---|---|---|---|
variable_id | number | Yes | Variable id |
with_usage | boolean | No | If 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?
Last updated on