git_stash
Manage Git stashes in local repositories: list, push, pop, apply, drop, show, or clear saved changes to switch context without committing work.
Instructions
Manage git stashes.
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_stash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional local working directory or repository path. | |
| ref | No | Optional stash ref. | |
| action | No | Stash action. | list |
| message | No | Message for stash push. |