mask_file
Mask sensitive information in files using regex, checksum, or AI-based detection. Save output to a new file or overwrite in place.
Instructions
脱敏文件内容并保存
Args: file_path: 输入文件路径 output_path: 输出文件路径(与 inplace 互斥) mask_strategy: 脱敏策略 enable_ai: 是否启用 AI 检测 inplace: 是否原地覆盖(慎用)
Returns: 操作结果 JSON
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| output_path | No | ||
| mask_strategy | No | ||
| enable_ai | No | ||
| inplace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |