Scan a document for sensitive data
scan_documentPremium. Use BEFORE sharing, uploading or sending a document anywhere: scans a PDF (including scanned pages, via OCR), image (PNG/JPG/TIFF/BMP), DOCX, XLSX, CSV, TXT or JSON file - or pasted text - for the sensitive data your PromptVault administrator configured (for example Email, SSN, Phone, Address, CustomerName, CustomerID). Returns a summary: which elements were found, how many, on which pages, and a risk level. Never returns the values. Send filename + content_base64 for a file, or document_text.
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": "scan_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| document_text | No | ||
| content_base64 | No |