redact_text
Remove sensitive text from Word documents by replacing it with a black rectangle using exact match or regex pattern, with optional paragraph scoping and reason logging.
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).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "redact_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | ||
| para_ids | No | ||
| exact_text | No | ||
| reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |