create_branch
Create a new branch in a repository from a specified commit or branch. Provide project key, repo slug, branch name, and start point.
Instructions
Create a new branch in a repository.
Args: project_key: The project key. repo_slug: The repository slug. name: Name for the new branch. start_point: Commit ID or branch name to branch from.
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": {
"project_key": "<project_key>",
"repo_slug": "<repo_slug>",
"name": "<name>",
"start_point": "<start_point>"
},
"name": "create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | ||
| repo_slug | Yes | ||
| name | Yes | ||
| start_point | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |