patch_restore
Restore a specific memory patch by ID, or all outstanding patches with all=True, to revert journaled changes in a session.
Instructions
Restore one patch by id, or every outstanding patch with all=True.
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": "patch_restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | ||
| pid | No | ||
| session | No | default | |
| patch_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |