analyze_branch
Analyzes differences between the current Git branch and a base branch, automatically detecting the main branch and repository. Use to understand changes or check what's in the current branch.
Instructions
Analyzes the differences between the current Git branch and a base branch. Automatically detects the main branch (dev/main/master) and current Git repository from the working directory. Use this when the user asks to analyze a branch, check changes, or understand what's in the current 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": "analyze_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detailed | No | Include detailed analysis | |
| baseBranch | No | Base branch for comparison (auto-detected if not provided) |