get_logs_around
Get all events within a time window around a timestamp to correlate browser and server logs from the same moment.
Instructions
Return ALL events (server + browser) within +/- windowMs of a timestamp, time-ordered — the correlation tool. E.g. the browser console error and the backend stack trace from the same moment. Timestamps come from the ts field on any 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": {
"ts": "<ts>"
},
"name": "get_logs_around"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts | Yes | Center timestamp (ms since epoch). | |
| app | No | Optional: scope to one app/project (pane label or id; see pane_list). | |
| source | No | Optional: limit to one side. | |
| windowMs | No | Half-window in ms (default 500). |