git_add
Stage explicit repository paths in Git directly, bypassing shell interpolation for reliable version control.
Instructions
Stage explicit repository paths using Git directly, without shell interpolation.
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": {
"paths": "<paths>"
},
"name": "git_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Git repository directory; defaults to the workspace. | |
| paths | Yes | Repository paths to stage. |