git
Run permitted local repository subcommands such as status, log, diff, add, commit, branch, and stash. Push uploads diffs via HTTP API; fetch, pull, clone, and other remote actions are blocked.
Instructions
Run an allowed local git subcommand.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional local working directory or repository path. | |
| env | No | Optional extra environment variables for the local git command. | |
| args | No | Arguments passed after the git subcommand. | |
| command | Yes | Git subcommand. push uses the custom diff upload flow; remote actions such as fetch, pull, clone, remote, and submodule are disabled. |