rollback_change
Revert an applied transaction in Mastercam by providing the receipt ID to undo changes and restore the prior state.
Instructions
Roll back an applied transaction using its server-held receipt
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": {
"transactionId": "<transactionId>"
},
"name": "rollback_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transactionId | Yes | ||
| idempotencyKey | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| live | No | ||
| tool | Yes | ||
| error | No | ||
| receipt | No | ||
| documentRevision | No | ||
| operationFingerprint | No |