rollback_session
Undo all changes made during the current AI session in a VS Code workspace, with an option to keep unstaged modifications.
Instructions
Rollback all changes made in the current AI session
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": {
"confirm": "<confirm>"
},
"name": "rollback_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Confirm rollback (required) | |
| preserveUnstaged | No | Keep unstaged changes |