Detect sensitive data in a file
detect_fileDetect PII, PHI, PCI, and secrets in local files—including images, PDFs, and scans—using OCR. Returns found data element types without modifying the file.
Instructions
Detect PII, PHI, PCI and secrets in a local file — image, PDF, scan or text. Strac runs OCR on images and scanned documents. Returns the data element types found, without modifying the file.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "detect_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| include_matched_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||