gitAdd
Stage modified files for commit, or include new files by setting addUntracked to true. Omit file paths to stage all tracked changes.
Instructions
Stage files for commit. Omit to stage all tracked (git add -u). addUntracked:true for new files.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gitAdd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Paths to stage (absolute or workspace-relative). Omit to stage all modified tracked files. | |
| addUntracked | No | Also stage new untracked files. Default: false. |