server_journal
Diagnose server issues by accessing system logs. Search for specific units, time ranges, or keywords within the journal to pinpoint the root cause of errors.
Instructions
Read the system log (journalctl). Optional unit, line count, since ("1 hour ago") and grep. Read only.
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": "server_journal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grep | No | ||
| host | No | ||
| unit | No | ||
| lines | No | ||
| since | No | ||
| as_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |