git_discard_changes
Revert your repository to the last commit by discarding all uncommitted changes and removing untracked files.
Instructions
discards all uncommitted changes and removes untracked files this tool reverts the repository to the state of the last commit (head)
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_discard_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||