repo_create_branch
Create a new branch from a specified reference in a workspace to enable PR automation.
Instructions
Create a new branch from a given reference.
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": {
"workspace_id": "<workspace_id>",
"branch_name": "<branch_name>",
"from_ref": "<from_ref>"
},
"name": "repo_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_ref | Yes | ||
| branch_name | Yes | ||
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||