get_current_branch
Retrieves the name of the current Git branch. Helps identify the active branch in a repository.
Instructions
Get current Git branch name
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_current_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||