scan_file
Scan files for sensitive information with regex, checksum, and optional AI detection, then apply masking strategies like mask, replace, hash, or redact.
Instructions
扫描文件中的敏感信息
Args: file_path: 文件路径 enable_ai: 是否启用 AI 检测 mask_strategy: 脱敏策略
Returns: JSON 格式的检测结果
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| enable_ai | No | ||
| mask_strategy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |