Run a test and report on its final status
The agent executes the specified test or batch, monitors the asynchronous run until it reaches a terminal state, and reports whether it passed, failed, or stopped.
How it works
The user asks the agent to run a specific test or batch. The agent identifies the target using list_tests or list_batches, then triggers the execution via run_test or run_batch. Since runs are asynchronous, the agent polls the status using get_test_run or get_batch_execution until a terminal status (Passed, Failed, Stopped) is reached. It then summarizes the outcome for the user. The agent should verify the test exists and is accessible before triggering.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Run the Basic test and tell me when it finishes.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
Runs are asynchronous. After starting a test or batch, the assistant checks its status until the run reaches a terminal status such as Passed , Failed , or Stopped .Connect an AI assistant (MCP) | AIVA