Git status
git_statusGet structured Git repository status as JSON, including branch and staged, unstaged, and untracked files, so agents avoid parsing raw git status output.
Instructions
Structured git status: branch, staged/unstaged/untracked files. Replaces parsing raw git status output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Repository path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ahead | Yes | ||
| clean | Yes | ||
| behind | Yes | ||
| branch | Yes | ||
| staged | Yes | ||
| retained | No | ||
| unstaged | Yes | ||
| untracked | Yes |