Syslog Context Tool
syslog_context_toolRetrieve log entries around a specific timestamp to correlate an alert with related events across all sources or one source.
Instructions
Return log entries surrounding a specific moment.
Use this after an alert names a time. Omitting source spans the whole fleet, which is how a failure gets correlated with whatever else was happening.
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": {
"timestamp": "<timestamp>"
},
"name": "syslog_context_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum entries to return. | |
| source | No | Restrict to one source. Omit to span all sources. | |
| severity | No | Optional minimum severity. | |
| timestamp | Yes | The moment of interest — ISO-8601, or relative like '30m' ago. | |
| after_seconds | No | How far forward from the timestamp to include. | |
| before_seconds | No | How far back from the timestamp to include. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |