Service Logs
logs_for_serviceRetrieve recent log lines for a specific service like nginx or postgres. Use after checking error counts across services to drill into detailed log text.
Instructions
Recent log lines for a specific service e.g. 'nginx', 'postgres'. Use for 'show me the errors/logs from X' — returns actual log text. For error COUNTS across all services, use errors_by_service first, then drill into a specific service here.
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": "logs_for_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Time window e.g. '15m ago', '1h ago', '2d ago'. | |
| service | Yes | service.name value |