git_git_add
Add files to the git staging area for commit by providing the file paths and optional repository directory.
Instructions
[git] Stage files for commit.
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_git_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | ||
| repo_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |