pg_undo_turn
Create a manual pre-edit snapshot or restore a Git slot or non-Git folder to its baseline, so you can undo a change and return the workspace to a known state.
Instructions
Create a manual pre-edit snapshot or one-click restore a Git slot or non-Git folder back to its pre-unlock/baseline snapshot.
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": {
"op": "<op>",
"project": "<project>"
},
"name": "pg_undo_turn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| project | Yes |