journal_logs
Read and filter systemd journal entries by unit, time window, priority, boot, and regex to diagnose service and system issues.
Instructions
Read systemd journal entries, filtered by unit, time window, priority, boot and regex.
Note: system-wide logs need the user to be in the adm group (they are).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "journal_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boot | No | ||
| grep | No | ||
| unit | No | ||
| lines | No | ||
| since | No | 1 hour ago | |
| priority | No | info |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |