guest_events
Reads recent event records from a Hyper-V guest’s System, Application, Security, or Setup logs with optional event ID and level filters for troubleshooting.
Instructions
Read recent System, Application, Security, or Setup event records with optional event ID and level filters.
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_name": "<vm_name>"
},
"name": "guest_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| level | No | ||
| vm_name | Yes | ||
| event_id | No | ||
| log_name | No | System | |
| max_events | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||