Submit a local file to VirusTotal
submit_local_fileSubmit a local file to VirusTotal for analysis, verify its SHA256 hash, and get a submission reference to track the scan.
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. Standard submission is not confidential: VirusTotal may share content with security partners and customers. This operation does not request interactive confirmation. Uses current VTAI rights and quota; 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.
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": "submit_local_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| expected_sha256 | No |