rename_branch
Rename a branch in the Smallest AI platform to organize voice agent versions. Provide the agent ID, branch ID, and new name. Note: the default branch cannot be renamed and 'main' is reserved.
Instructions
Rename a branch. The default branch cannot be renamed, and 'main' is reserved. Use list_branches to find branch IDs.
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": "<name>"
},
"name": "rename_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New branch name (1-100 chars) | |
| agent_id | Yes | The agent ID | |
| branch_id | Yes | The branch to rename (from list_branches) |