redact_scan
Scan documents non-destructively to detect sensitive content before redaction. Supports PDF (including OCR), DOCX, XLSX, PPTX, and text formats, returning candidate findings and metadata leaks.
Instructions
非破坏性扫描文档(不改文件),发现候选敏感项。支持 PDF(文字/扫描件自动 OCR)、DOCX、XLSX、PPTX、TXT/MD/CSV 等。返回候选清单(词条/来源/位置/次数)、 元数据泄露、格式相关清单。enable_ner 需 zh_core_web_trf 模型;标准/公文类 文档建议关闭(噪声大)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keywords | No | ||
| enable_ner | No | ||
| input_path | Yes | ||
| ner_labels | No | ||
| enable_regex | No |