vm_events
Read and filter Windows event logs from a UTM VM via its guest agent, returning compact JSON for troubleshooting errors, warnings, or provider-specific events.
Instructions
Reads a Windows event log (newest first) as compact JSON [{time (UTC), level, provider, id, message (first 500 chars)}]; [] when nothing matches. log: System, Application, Security or a channel such as Microsoft-Windows-Kernel-Power/Thermal-Operational. level: critical, error, warning or info (that level only). provider filters by event source; contains is a case-insensitive text match on the message. Runs through the guest agent, no helper needed.
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": {
"vm": "<vm>"
},
"name": "vm_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| log | No | System | |
| max | No | ||
| level | No | ||
| contains | No | ||
| provider | No | ||
| since_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |