session_checkpoint
Create a workspace checkpoint on a remote session to snapshot files for later restoration. Requires git on the remote host; reverts file changes only, not side effects.
Instructions
Take a workspace checkpoint on a REMOTE session (snapshot of files you can restore). Requires git on the remote host. Undoes FILES only - not side effects (DB, network, installs). Returns { checkpoint_id }.
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": {
"session_id": "<session_id>"
},
"name": "session_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional human label for the checkpoint. | |
| session_id | Yes | Session id from session_create. |