git_admin
Perform advanced Git admin work like managing remotes, resetting or reverting commits, cherry-picking, cleaning, submodules, bisect, and worktrees, with confirmation for destructive actions.
Instructions
Git admin operations — remote, reset, revert, cherry-pick, clean, submodule, bisect, worktree.
For core operations (status, log, commit, push) use git_core. For branch operations use git_branch. reset/clean/worktree_remove need confirm=True + confirm_token (red-shelf gate).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operation": "<operation>"
},
"name": "git_admin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | mixed | |
| force | No | ||
| commit | No | ||
| remote | No | origin | |
| confirm | No | ||
| dry_run | No | ||
| operation | Yes | ||
| recursive | No | ||
| repo_path | No | ||
| remote_url | No | ||
| remote_name | No | ||
| include_dirs | No | ||
| confirm_token | No | ||
| submodule_url | No | ||
| worktree_path | No | ||
| submodule_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||