Activity log
azure_activity_logAudit Azure control-plane operations like deployments, restarts, scaling, and role assignments. Scope by resource, resource group, or subscription; filter for failures with caller and error details.
Instructions
Lists control-plane operations from the Azure activity log: deployments, restarts, scaling, configuration updates, role assignments, and their failures, with the caller and error message. Scope it to a resource, a resource group or a whole subscription. Set onlyFailures to see only failed operations.
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": {
"scope": "<scope>"
},
"name": "azure_activity_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | How many hours to look back (default 24, max 2160). | |
| limit | No | Maximum events (default 50). | |
| scope | Yes | Resource ID, resource group ID (/subscriptions/<id>/resourceGroups/<name>) or subscription ID path (/subscriptions/<id>). | |
| onlyFailures | No | Only return failed operations and errors. |