azure_get_monitor_logs
Runs a KQL query against Azure Log Analytics for a workspace over a chosen time window, helping on-call engineers retrieve monitor logs without checking multiple dashboards.
Instructions
Run a KQL query against Log Analytics. (demo mode -- azure-monitor-query not installed)
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": {
"workspace_id": "<workspace_id>",
"query": "<query>"
},
"name": "azure_get_monitor_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| query | Yes | ||
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |