list-services
Retrieve and display all services managed by Coolify, including external services and microservices, for streamlined monitoring and management.
Instructions
Retrieve a list of all services managed by Coolify. This includes external services and microservices.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:113-117 (registration)Registration of the 'list-services' tool in the ListToolsRequestSchema handler. Defines the tool name, description, and empty input schema.{ name: "list-services", description: "Retrieve a list of all services managed by Coolify. This includes external services and microservices.", inputSchema: zodToJsonSchema(z.object({})), },
- src/index.ts:224-232 (handler)The handler function for the 'list-services' tool. It calls the Coolify API endpoint '/services' and returns the JSON-formatted list of services.case "list-services": { const services = await coolifyApiCall('/services'); return { content: [{ type: "text", text: JSON.stringify(services, null, 2) }] }; }
- src/index.ts:116-116 (schema)Input schema for 'list-services' tool: empty object (no parameters required).inputSchema: zodToJsonSchema(z.object({})),