Restore original values into placeholder text
stript_restoreRestore original values from Stript placeholders in AI-generated text, writing the result to your clipboard or a local file. Learn how many placeholders were replaced.
Instructions
Use this when an AI answer that contains Stript placeholders like [PERSON_1] or [EMAIL_2] should get the original values back. The restored text never appears in the chat. It is written to the user clipboard by default or to a local file, always tell the user where it went. This tool returns replacement counts only. Restoring is free, it never consumes an evaluation document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text containing Stript placeholders to restore | |
| project | No | Stript project id the placeholders belong to | |
| filename | No | Output file name when destination is file | |
| destination | No | Where the restored text is written, never into the chat | clipboard |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| destination | Yes | ||
| exact_restore | Yes | ||
| ambiguous_skipped | Yes | ||
| replacements_made | Yes | ||
| unmatched_placeholders | Yes |