defender_get_user_alerts
Retrieve Microsoft Defender for Endpoint alerts involving a specific user by user ID. Optionally apply filters and set a maximum count to focus on relevant threats.
Instructions
List the Defender for Endpoint alerts that involve a user.
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": {
"user_id": "<user_id>"
},
"name": "defender_get_user_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. | |
| user_id | Yes | User ID: the account name as Defender reports it. |