cloudron_get_logs
Retrieve formatted application or system service logs from Cloudron instances to monitor and troubleshoot self-hosted applications.
Instructions
Get logs for an app or service. Logs are formatted with timestamps and severity levels for readability. Type parameter determines endpoint: "app" calls GET /api/v1/apps/:id/logs, "service" calls GET /api/v1/services/:id/logs.
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": {
"resourceId": "<resourceId>",
"type": "<type>"
},
"name": "cloudron_get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resourceId | Yes | App ID or service ID to retrieve logs for | |
| type | Yes | Type of resource: "app" for application logs, "service" for system service logs | |
| lines | No | Optional: Number of log lines to retrieve (default 100, max 1000) |