git_add
Stage files for Git commit by specifying file paths, staging all changes, or providing a custom repository path.
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 |