git status
git_statusRetrieve the current Git working tree status and active branch for a specified directory, so you can inspect changes and repository state before running further commands.
Instructions
Show git status and 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": "git_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | . |