create_branch
Create a new branch in a GitHub repository
Purpose
This skill provides access to the MCP tool create_branch. It allows you to create a new branch in a github repository.
Parameters
The tool accepts the following parameters:
owner
Required
- Type:
string - Description: Repository owner (username or organization)
repo
Required
- Type:
string - Description: Repository name
branch
Required
- Type:
string - Description: Name for the new branch
from_branch
Optional
- Type:
string - Description: Optional: source branch to create from (defaults to the repository's default branch)
Usage Instructions
To use this tool:
- Prepare the parameters according to the schema above
- Invoke the MCP tool
create_branchwith the prepared parameters - Process the result returned by the tool
Example
{
"owner": "example_value",
"repo": "example_value",
"branch": "example_value",
"from_branch": "example_value"
}
Notes
- This skill requires an active MCP connection to the server providing the
create_branchtool - Ensure the MCP server is properly configured and running before attempting to use this tool
- Review the parameter requirements carefully to avoid errors