Home / Servers / ElevenLabs API / create_agent_response_test_route

Create Agent Response Test

An MCP tool from the ElevenLabs API server, hosted on mcp.hjlabs.in.

Create Agent Response Test Creates a new agent response test. [POST /v1/convai/agent-testing/create]

Name on the gateway: elevenlabs_api__create_agent_response_test_route · may change things.

Parameters

NameTypeDescription
from_conversation_metadataobjectMetadata of a conversation this test was created from (if applicable).
dynamic_variablesobjectDynamic variables to replace in the agent config during testing
chat_historyarrayChat History
conversation_initiation_sourcestringSimulate the test as if the conversation originated from this channel.
environmentstringThe environment to resolve environment-specific variable values against when…
typestringType
success_conditionstringA prompt that evaluates whether the agent's response is successful. Should…
success_examplesarrayNon-empty list of example responses that should be considered successful
failure_examplesarrayNon-empty list of example responses that should be considered failures
name requiredstringName
parent_folder_idstringThe ID of the parent folder. If not provided, the test will be created at the…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "elevenlabs_api__create_agent_response_test_route",
  "arguments": {
    "name": "…"
  }
}

Or connect the ElevenLabs API server directly, which lists 487 tools including this one:

Run in your terminal
claude mcp add --transport http hj-elevenlabs-api https://mcp.hjlabs.in/mcp/elevenlabs-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create agent response test tool with from_conversation_metadata set to ….

More from ElevenLabs API