git_status
Retrieve the current Git branch, upstream tracking state, and working-tree status directly from a repository, without running shell commands.
Instructions
Read the current Git branch, upstream tracking state, and working-tree status without running a shell command.
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 |
|---|---|---|---|
| path | No | Git repository directory; defaults to the workspace. |