Git clean preview
git_cleanClean a git repository by removing untracked files. Preview with dry run or execute after confirmation.
Instructions
Preview (dry_run) or execute clean; execution requires confirm=true.
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": {
"path": "<path>"
},
"name": "git_clean"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dirs | No | ||
| path | Yes | ||
| confirm | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||