azure_query
Run custom Kusto queries on Azure Application Insights logs to analyze application traces, metrics, and troubleshoot issues.
Instructions
Run a custom Kusto query on Application Insights logs
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": {
"query": "<query>"
},
"name": "azure_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Kusto query to execute | |
| timespan | No | ISO 8601 duration (PT1H=1 hour, P1D=1 day, P7D=7 days) | PT1H |
| workspace_id | No | Log Analytics workspace ID (or set AZURE_LOG_ANALYTICS_WORKSPACE_ID) |