Submit a local file to VirusTotal
submit_local_fileUpload a local file (max 32 MB) to VirusTotal to check for threats and share it with the community; optional SHA256 verification confirms integrity before upload.
Instructions
Submit one local regular file of at most 32000000 bytes in standard mode.
Reads the local server's filesystem, never a remote client's path or a URL. Copies and hashes the bytes; an optional expected SHA256 must match that copy. Submit only when the user explicitly requests submission of this file. Ask before sharing the user's own documents, internal code, credentials or personal data, including in attachments or unfamiliar files. Standard submission is not confidential: content is shared with the VirusTotal community and partners. The tool adds no confirmation; host permissions and current VTAI rights and quota still apply. Never retries a POST. A durable reference permits only receipt recovery after an interrupted call. Submitted/unknown is not completion or a security verdict; use get_submission and get_analysis. Cancelling locally does not withdraw an accepted file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| expected_sha256 | No |