defender_get_file_alerts
Get all Microsoft Defender for Endpoint alerts linked to a file hash (SHA1/SHA256) to quickly investigate file-based threats.
Instructions
List the Defender for Endpoint alerts that involve a 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": {
"file_hash": "<file_hash>"
},
"name": "defender_get_file_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of alerts to return (default 25, max 100). | |
| filter | No | OData $filter expression. Refine the filter instead of paging deep. | |
| file_hash | Yes | SHA1 or SHA256 of the file. |