get_quarantine_messages
Retrieve Exchange Online quarantine messages for security review, filtered by reason (Bulk, Phish, Malware, etc.) and lookback period, to inspect suspicious email.
Instructions
Return Exchange Online quarantine messages for security review. By default only messages quarantined by a transport rule are returned. Set quarantine_types to a list of one or more of Bulk, HighConfPhish, Malware, Phish, Spam, SPOMalware, and TransportRule to choose which quarantine reasons to include (e.g. ["Phish", "Malware"]), or to ["All"] for every quarantined message regardless of reason. Each row's Type field gives its quarantine reason. Read-only; looks back up to 30 days and returns at most 1000 messages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_quarantine_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| limit | No | ||
| quarantine_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |