git_run
Execute git commands under permission control. Read operations (status, log, diff) require read access; write operations (commit, push) require write access.
Instructions
Run a git command. Read operations (status, log, diff) require git.read.. Write operations (commit, push) require git.write..
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": {
"command": "<command>"
},
"name": "git_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Git subcommand and arguments (e.g., 'status', 'log --oneline -5', 'push origin main') |