git_reset_tool
Remove all staged changes from the index without discarding modifications. Useful to undo a 'git add' before committing.
Instructions
Unstages all staged changes (non-destructive — does not discard modifications).
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": {
"repo_path": "<repo_path>"
},
"name": "git_reset_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to the Git repository |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |