Home / Servers / ElevenLabs API / merge_branch_into_target

Merge A Branch Into A Target Branch

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

Merge A Branch Into A Target Branch [POST /v1/convai/agents/{agent_id}/branches/{source_branch_id}/merge]

Name on the gateway: elevenlabs_api__merge_branch_into_target · may change things.

Parameters

NameTypeDescription
agent_id requiredstringThe id of an agent. This is returned on agent creation.
source_branch_id requiredstringUnique identifier for the source branch to merge from.
target_branch_id requiredstringThe ID of the target branch to merge into.
archive_source_branchbooleanWhether to archive the source branch after merging
forcebooleanForce source branch changes onto the target, overriding timestamp-based…

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__merge_branch_into_target",
  "arguments": {
    "agent_id": "…",
    "source_branch_id": "…",
    "target_branch_id": "…"
  }
}

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 merge a branch into a target branch tool with agent_id set to ….

More from ElevenLabs API