git-remove
Removes a specific file from the staging area, preventing it from being committed.
Instructions
Removes a specific file from the staging area
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": {
"file": "<file>"
},
"name": "git-remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The file to remove from the staging area | |
| directory | No | The directory to run the command in (defaults to current working directory) |