fetch_window
Retrieve log entries immediately before and after a given timestamp to inspect the context surrounding a specific event, with optional source filtering and window size.
Instructions
Fetch the log entries immediately before and after a timestamp, to see the context around a specific event.
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": {
"around_iso": "<around_iso>"
},
"name": "fetch_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Entries on each side (default 10, max 50). | |
| source | No | Source name from list_sources, e.g. 'app'. Omit to use all sources. | |
| around_iso | Yes | ISO-8601 timestamp to center the window on. |