scan_pdf
Scan PDFs from untrusted sources for malicious scripts, launch actions, disguised attachments, hidden data, and known malware; get a risk verdict to guide safe handling.
Instructions
Scan a PDF you didn't make for risks: scripts (especially ones that run on open), actions that launch programs, attachments that are programs or disguise their type, disguised names, hidden data around the file, and (if ClamAV is installed) known malware. verdict is no_active_content_found, active_content or suspicious, never "safe": a scan can't prove that. To remove active content, use sanitize_pdf.
Any password argument can be "ask": the user then types it on a local page, so it never passes through the chat.
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": {
"input_path": "<input_path>"
},
"name": "scan_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | No | ||
| antivirus | No | ||
| input_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limits | Yes | ||
| verdict | Yes | ||
| antivirus | Yes | ||
| indicators | Yes | ||
| embedded_files | Yes |