Skip to navigation

test_changeset

Tests a change set against your live AI Agent with its objective, or with a custom metric you name. It runs each test case on the change set and on the live Agent, so you see what the change set fixes and what it breaks. Read the result with get_changeset_test.

With OAuth, this tool needs the Owner or Admin role. The assistant asks you before it calls this tool, because a test runs many Simulations and takes minutes. It is part of the improvement loop. A started test also counts as a test for the warning before a rollout.

Example prompts

  • “Test the change set against the live Agent with its objective.”
  • “Run each test case 5 times on both sides with the Gives the refund date metric.”

Parameters

ParameterTypeRequiredDescription
changeset_idstringYesThe testing change set to compare with the live Agent.
metric_idstringYesThe objective of the change set, or a custom metric, that scores each run.
repeatsintegerNoThe runs of each test case on each side, from 1 to 5. Defaults to 3.

The test runs each test case that lists metric_id in its metrics, and that belongs to no change set or to this change set. Write those test cases first with draft_test_case_from_conversation and edit_agent_config.

Response

Returns at once with status set to running and the test id. The other fields are the same as in get_changeset_test.

Limits

  • A test runs up to 20 test cases. If more test cases list the metric, remove the metric from some of them.
  • The runs use Ada’s improvement quota, not your Simulation quota. If the quota can’t cover every run, no run starts.
  • The runs are text only. Calls to external systems are mocked or blocked. See Mock API tools.
  • If the test can’t start, the error says why. The assistant shows it to you as it is.