redact_text
Remove text from Word documents and replace with black rectangles using exact text or regex patterns.
Instructions
True redaction: remove text and replace with black rectangle. Use exact_text or pattern.
Args: pattern: Regex pattern to match run text. para_ids: Optional list of paragraph paraId values to limit scope. exact_text: Exact string to match against run text. reason: Reason for redaction (stored in log).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | ||
| para_ids | No | ||
| exact_text | No | ||
| reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |