retell_create_batch_test
Run automated test scenarios against a Retell AI agent to validate performance and conversation flows.
Instructions
Run automated test scenarios against an agent.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent ID to test | |
| test_cases | Yes | Array of test case configurations |
Implementation Reference
- src/index.ts:1255-1256 (handler)Handler implementation within the executeTool switch statement that handles execution of the 'retell_create_batch_test' tool by forwarding arguments to the Retell API endpoint '/create-batch-test' via POST request.case "retell_create_batch_test": return retellRequest("/create-batch-test", "POST", args);
- src/index.ts:1063-1079 (schema)Schema definition for the 'retell_create_batch_test' tool, including input schema with required 'agent_id' and 'test_cases', part of the tools array used for tool listing.{ name: "retell_create_batch_test", description: "Run automated test scenarios against an agent.", inputSchema: { type: "object", properties: { agent_id: { type: "string", description: "The agent ID to test" }, test_cases: { type: "array", description: "Array of test case configurations" } }, required: ["agent_id", "test_cases"] }
- src/index.ts:1283-1285 (registration)MCP server registration for the ListToolsRequest handler, which returns the list of tools including 'retell_create_batch_test'.server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });
- src/index.ts:1287-1292 (registration)MCP server registration for the CallToolRequest handler, which dispatches to executeTool based on tool name, handling execution of 'retell_create_batch_test'.// Register tool execution handler server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; try { const result = await executeTool(name, args as Record<string, unknown>);