evtx_search
Search Windows Event Log (EVTX) records by time, Event ID, keywords, or provider to filter and retrieve structured forensic results.
Instructions
Search EVTX events by time, Event ID, keywords, or provider. Supports compact structured projection, whole-record budgets, and source-bound continuation cursors. File-record order is preserved.
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": {
"evtx_path": "<evtx_path>"
},
"name": "evtx_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| where | No | Field-specific AND predicates. Missing fields fail comparisons, including neq. Use exists for presence; ordering uses numeric operands or aware ISO timestamps on TimeCreated. | |
| cursor | No | Continuation bound to the same source and query. Do not combine with offset. | |
| fields | No | System fields, dotted EventData/UserData paths, or unambiguous aliases. | |
| offset | No | ||
| compact | No | Compact rows with event references; selects structured output by default. | |
| contains | No | ||
| end_time | No | ||
| max_scan | No | Maximum source records examined. A capped result reports an inexact total. | |
| provider | No | ||
| event_ids | No | ||
| evtx_path | Yes | ||
| max_chars | No | MCP result JSON character budget, including metadata; default 12000 compact, otherwise 40000. | |
| start_time | No | ISO format datetime | |
| not_contains | No | ||
| output_format | No | Defaults to structured for compact queries, otherwise legacy JSON text. | |
| timestamp_precision | No | both adds timestamp_second in UTC without changing TimeCreated. | full |
| where_case_sensitive | No |