tail_system_logs
Retrieve recent system or Docker container logs, with optional filtering by service name to aid troubleshooting.
Instructions
Retrieve recent system or Docker container logs. Supports filtering by service name.
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": "tail_system_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Number of log lines to retrieve | |
| follow | No | Follow logs in real-time (not recommended for MCP) | |
| service | No | Service/container name to filter logs (optional for system logs) |