system_logs
Retrieve system logs for any specified service on your Ubuntu server. Control the number of log lines to display for efficient troubleshooting.
Instructions
View system logs for a specific service
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": {
"service": "<service>"
},
"name": "system_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of lines to show (default: 50) | |
| service | Yes | Service name (e.g., docker, nginx, ssh) |