Home / Servers / ElevenLabs API / rebase_branch_onto_main
Rebase A Branch Onto Main
An MCP tool from the ElevenLabs API server, hosted on mcp.hjlabs.in.
Rebase A Branch Onto Main Pull changes from a source branch (defaults to main) into this branch as a new version, preserving this branch's own changes on conflicts. [POST /v1/convai/agents/{agent_id}/branches/{branch_id}/rebase]
Name on the gateway: elevenlabs_api__rebase_branch_onto_main · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
agent_id required | string | The id of an agent. This is returned on agent creation. |
branch_id required | string | Unique identifier for the source branch to merge from. |
source_branch_id | string | The ID of the branch to pull changes from. Defaults to the agent's main branch. |
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:
{
"name": "elevenlabs_api__rebase_branch_onto_main",
"arguments": {
"agent_id": "…",
"branch_id": "…"
}
}Or connect the ElevenLabs API server directly, which lists 487 tools including this one:
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 rebase a branch onto main tool with agent_id set to ….