Git 状态
git_statusCheck the current state of a Git repository by showing short status and branch information. Quickly identify uncommitted changes, staged files, and the current branch to manage your working tree effectively.
Instructions
返回 git status --short --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 | . |