git_current_branch
Retrieve the current Git branch name for a repository. Use this to identify the active branch in your workflow.
Instructions
Return the active 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": "git_current_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |