get_service_logs
Retrieve service logs for monitoring and troubleshooting by specifying the service UUID and optional line count.
Instructions
Get logs from a service. NOTE: This endpoint is not available in Coolify API and will return an error. Service logs are not exposed via the API.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Service UUID | |
| lines | No | Number of lines (default: 100) |
Implementation Reference
- src/tools/handlers.ts:316-320 (handler)The handler implementation for the 'get_service_logs' tool. It requires a 'uuid' parameter and returns an error message explaining that service logs are not available in the Coolify API.case 'get_service_logs': requireParam(args, 'uuid'); // This endpoint doesn't exist in Coolify API // Services don't have a direct logs endpoint like applications return { error: 'Service logs endpoint is not available in Coolify API. Service logs are not exposed via the API.' };
- src/tools/definitions.ts:507-518 (schema)The input schema and metadata definition for the 'get_service_logs' tool, including description noting the lack of API support.{ name: 'get_service_logs', description: 'Get logs from a service. NOTE: This endpoint is not available in Coolify API and will return an error. Service logs are not exposed via the API.', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Service UUID' }, lines: { type: 'number', description: 'Number of lines (default: 100)', default: 100 } }, required: ['uuid'] } },
- src/tools/definitions.ts:28-28 (registration)The tool is listed in the READ_ONLY_TOOLS array, indicating it is exposed in read-only mode via getToolDefinitions().'get_service_logs',