Restore RAM Twins & Save Atomic Document
sip_save_restored_documentRestores an AI-edited draft by replacing in-RAM NIST FF1 synthetic values with originals via LIFO unwrapping, then atomically writes the restored document to a local file.
Instructions
Detokenize an AI-edited draft by replacing in-RAM NIST FF1 synthetic twins back to original values via LIFO unwrapping and atomically write the restored document to the local filesystem.
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": {
"aiDraftText": "<aiDraftText>"
},
"name": "sip_save_restored_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | No | Target local output file path. | |
| sourcePath | No | Original source document path. | |
| aiDraftText | Yes | Pseudonymized draft text to restore. |