读取 systemd 日志
ssh_read_journalRead journal logs of a specified systemd service over SSH. Specify the service, set line limit, and filter by time to troubleshoot issues.
Instructions
读取指定 systemd 服务的 journal 日志。
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": {
"alias": "<alias>",
"service": "<service>"
},
"name": "ssh_read_journal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | ||
| lines | No | ||
| since | No | ||
| service | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||