git_add
Stage files for commit in Git repositories. Use this tool to prepare changes for committing by specifying files or staging all modifications.
Instructions
Stage files for commit
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": "git_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Files to stage | |
| all | No | Stage all changes | |
| cwd | No | Repository path |