run_safe_shell
Execute git commands safely in a specified working directory for repository management.
Instructions
Execute a safe shell command (git only) in a specific directory
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": {
"cwd": "<cwd>",
"command": "<command>",
"args": "<args>"
},
"name": "run_safe_shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | The working directory for the command | |
| args | Yes | The arguments for the command | |
| command | Yes | The command to execute (must start with 'git') |