test_agent
Synchronously test an AI agent with a prompt: polls every 2 seconds until completion or 90-second timeout. Returns status and execution ID.
Instructions
Quick synchronous test of an agent with a 90-second timeout.
Starts a run and polls every 2 seconds until it completes (or times out).
Reports progress via MCP notifications while waiting. Returns the final
status and execution_id. Use get_run_logs afterwards to see the output.
For production usage, prefer run_agent + get_run_status (non-blocking).
Args: agent_id: The agent's UUID. prompt: The test prompt to send.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| agent_id | Yes | ||
| prompt | Yes |