create_branch_route
Create a new agent branch from a selected parent version, specifying its name, description, and optional workflow, conversation, or platform settings.
Instructions
Create A New Branch
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>",
"parent_version_id": "<parent_version_id>",
"name": "<name>",
"description": "<description>"
},
"name": "create_branch_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the branch. It is unique within the agent. | |
| agent_id | Yes | The id of an agent. This is returned on agent creation. | |
| workflow | No | ||
| description | Yes | Description for the branch | |
| include_draft | No | When true, the new branch uses the caller's draft procedure set instead of the branch tip. Requires parent_version_id to be the branch tip. | |
| parent_version_id | Yes | ID of the version to branch from | |
| platform_settings | No | ||
| conversation_config | No |