create_repository_branch
Create an isolated Git branch in a run-scoped repository to work on changes without disrupting the main line. Specify team, repository, new branch name, and source branch or commit.
Instructions
Create an isolated branch in the run-scoped hosted Git repository.
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": {
"team_id": "<team_id>",
"repository_id": "<repository_id>",
"name": "<name>",
"from": "<from>"
},
"name": "create_repository_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | The existing source branch or commit. | |
| name | Yes | The new branch name. | |
| team_id | Yes | The ID of the team. | |
| repository_id | Yes | The run-scoped hosted repository ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||