make_branch_live
Promote a branch head to the live serving configuration for an AI agent, switching the branch the agent runs. Requires the branch to pass security validation.
Instructions
Make a branch's head revision the live (serving) configuration for the agent. Under the branch model only a branch head can serve — so this switches which branch the agent runs. Use list_branches to find branch IDs. The head must have passed its security check (otherwise this is rejected).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>",
"branch_id": "<branch_id>"
},
"name": "make_branch_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent ID | |
| branch_id | Yes | The branch to make live (from list_branches) |