scan_file
Scan base64-encoded files for viruses using ClamAV. Provides detailed scan results, including raw clamscan output, to ensure file safety and security.
Instructions
Scan a base64-encoded file using ClamAV.
Args:
base64_data (str): Base64 encoded string representing a file
filename (str): Name of the file to use in the scan
Returns:
dict: Scan results including the raw clamscan output
Input Schema
Name | Required | Description | Default |
---|---|---|---|
base64_data | Yes | ||
filename | Yes |
Input Schema (JSON Schema)
{
"properties": {
"base64_data": {
"title": "Base64 Data",
"type": "string"
},
"filename": {
"title": "Filename",
"type": "string"
}
},
"required": [
"base64_data",
"filename"
],
"title": "scan_fileArguments",
"type": "object"
}