get_branch_context
Retrieve the current git branch, HEAD SHA, and recent commits to anchor your codebase context to the correct branch before performing tasks.
Instructions
Get the current git branch, HEAD SHA, and recent commits. Always call this first to anchor your context to the correct branch.
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_branch_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||