/elevenlabs:architect-create-client-toolfrom ElevenLabs
Creates a client tool that runs in the caller's browser or app via widget/SDK. Guides through API calls to configure tool name, description, parameters, and expects_response flag.
Ships in ElevenLabs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A client tool runs in the caller's browser or app via the widget or SDK, not on ElevenLabs' servers. The agent emits a call over the event stream and the customer's own code executes it. This is different from a webhook tool (ElevenLabs calls an HTTP endpoint). All API calls use xi-api-key: $API_KEY against https://api.elevenlabs.io.
Before creating, make these reads (in parallel where independent):
GET /v1/convai/agents/$AGENT_ID?branch_id=$BRANCH_ID to confirm the agent, its LLM, and whether it is a workflow agent (workflow agents scope tools per node via additional_tool_ids, so where you attach the new tool matters; the workflow is in this config).GET /v1/convai/tools to avoid creating a duplicate and to reuse an existing client tool if one fits.POST /v1/convai/tools
with the tool config discriminated by the client type. The fields that cause failures:
name: stable snake_case identifier the SDK matches on. Keep it identical to what the client code listens for; renaming later breaks the integration.description: the LLM uses this to decide WHEN to call the tool. Be specific ("Navigate the user to the billing settings page", not "navigation"). Vague descriptions are the top cause of "the agent never calls it".parameters: an ARRAY of parameter objects (not a JSON-Schema object with a properties map). Each item needs: id (snake_case, non-empty), type as a BARE string ("string"|"number"|"integer"|"boolean"; nullable uses a 2-element array like ["string","null"], never {"type":"string"}), description, value_type ("llm_prompt"|"dynamic_variable"|"constant"), dynamic_variable (empty string unless bound), constant_value (always a string/number/boolean, NEVER null or omitted), and required (boolean). Exactly one value source must be populated: a non-empty description (llm_prompt), OR dynamic_variable, OR a non-empty constant_value, OR is_system_provided: true. Zero sources is invalid and is the top cause of invalid_union / schema_mismatch on parameters.0. A working llm_prompt item: {"id":"city","type":"string","description":"The city to look up.","value_type":"llm_prompt","dynamic_variable":"","constant_value":"","required":true}. For no inputs send parameters: []. Array-typed params also need an items schema.expects_response: the single most important decision.
true: the agent PAUSES and waits for the client to send a result back (bounded by response_timeout_secs, default 20, max 120). Use when the return value feeds the conversation ("read the current page and tell me what the user is looking at").false: fire-and-forget; the agent does not wait. Use for pure side effects (navigate, close dialog). Setting true for a side-effect-only tool is a common mistake; the agent then hangs until timeout because the client never sends a result.execution_mode: immediate runs right away; post_tool_speech lets the agent speak first. Async / fire-and-forget maps to expects_response: false. Only set response_timeout_secs when expects_response: true, and keep it <= 120.The tool only works if the client handles the call. On invocation the client receives a ClientToolCall event carrying tool_call_id, tool_name, and parameters. If expects_response: true, the client MUST send back a ClientToolResult with the SAME tool_call_id and a string result within response_timeout_secs, or the agent gets a timeout. So expects_response: true with no client handler = every call times out; that is a client-code gap, not a tool-config bug.
Attach the tool to the agent via a targeted PATCH /v1/convai/agents/$AGENT_ID?branch_id=$BRANCH_ID: on a single-node agent add its id to tool_ids; on a workflow agent keep base tool_ids: [] and add it to the right node's additional_tool_ids (see the edit-workflows skill for node scoping). In the prompt, tell the agent when to call it and what to do on failure ("If it returns an error or times out, tell the user you could not complete the action").
schema_mismatch: usually the parameters block. Confirm each item has exactly one value source and a bare-string type, and that array params have an items schema. Rebuild minimally and retry.validation: a required field is missing or malformed (empty name, missing description, response_timeout_secs > 120). Fill or clamp and retry.not_found: a wrong agent, tool, or node id. Re-read current ids and route to the correct one.After creating and attaching, re-GET /v1/convai/tools (and the agent config for a workflow) to confirm the tool exists and is scoped to the intended node, then confirm with the user that their client code listens for ClientToolCall and returns a ClientToolResult when expects_response is true.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
client-tool, elevenlabs-convai, tool-creation, sdk-integration
44 skills in this plugin
/agentsBuild voice AI agents with ElevenLabs. Use when creating voice assistants, customer service bots, interactive voice characters, or any real-time voice conversation experience, and when configuring an agent's tools, workflows, or procedures, including creating, editing, and publishing free-form and structured procedure drafts on an agent branch over the SDKs or REST API./agent-simplificationSimplify a complex ElevenLabs voice agent (typically a large workflow agent) into a leaner architecture — fewer workflow nodes, deduplicated prompts, procedures where they help — while PROVING with a ground-truth test suite that every behaviour of the original is preserved or improved. Use when the user says things like 'simplify this agent', 'flatten this workflow', 'this agent is too complex', 'consolidate these nodes', 'rebuild this agent with fewer nodes', 'can we replace this workflow with procedures', or asks whether a big workflow agent can be made easier to maintain without losing behaviour./agents-platformManage ElevenLabs voice agents through the connected ElevenLabs MCP server. Use when the user asks to create, configure, test, deploy, or inspect agents, knowledge bases, agent tools, tests, or conversations directly on their ElevenLabs account — rather than writing application code. Requires the ElevenLabs MCP server bundled with this plugin./architect-agent-memoryUse when the user wants the agent to remember, learn, save, or memorize a fact, or reports a one-off "the agent said X but should say Y" correction. There is no memory endpoint over REST; this covers the durable alternatives (system prompt or knowledge base) and when to use them./architect-branches-versions-mergeUse when working with agent branches, versions, drafts, traffic splits, or merges. Fires on "make a copy to test on", "create a branch", "switch to my test branch", "send 10% of traffic to the new version", "roll it out gradually", "merge my branch back to main", or when a branch operation errored./architect-create-llm-testUse when the user wants a single-turn test that checks WHAT the agent says for a given turn. Fires on "add a test that the agent greets the caller", "test that it always reads the disclosure", "make sure it refuses off-topic questions", "write an eval for this reply", or "add a pass/fail check on the agent's answer". Not a multi-turn simulation and not a tool-call check.npx claudepluginhub elevenlabs/plugin --plugin elevenlabsOther plugins' skills for the same job