webapp_view_logs
Retrieve web app logs from Azure Monitor by specifying the web app name, resource group, and lookback period in days.
Instructions
View web app logs from Azure Monitor.
Args: webapp_name: Web app name resource_group: Resource group containing the web app days: Number of days to look back (1-7)
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": {
"webapp_name": "<webapp_name>",
"resource_group": "<resource_group>"
},
"name": "webapp_view_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webapp_name | Yes | ||
| resource_group | Yes | ||
| days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |