Restore to a file
restore_fileRestores redacted real values from a session vault and writes them to disk without returning content, keeping sensitive identifiers out of the conversation.
Instructions
Restore real values and write the result to disk. The restored content is not returned, so the values never appear in the conversation.
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>",
"output_path": "<output_path>"
},
"name": "restore_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Redacted file to restore | |
| text | No | Or: redacted text to restore | |
| overwrite | No | Allow replacing an existing output file | |
| session_id | Yes | Session that produced the tokens | |
| output_path | Yes | Where to write the restored result |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||