get_service
Retrieve service details by UUID from Coolify's self-hosted PaaS platform to manage deployments and monitor operations.
Instructions
Get service details by UUID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Service UUID |
Implementation Reference
- src/tools/handlers.ts:322-324 (handler)The core handler logic for the 'get_service' tool. It requires a 'uuid' parameter and calls the CoolifyClient to GET /services/{uuid}.case 'get_service': requireParam(args, 'uuid'); return client.get(`/services/${args.uuid}`);
- src/tools/definitions.ts:950-956 (schema)The tool schema definition including name, description, and inputSchema for 'get_service', used for validation and MCP tool listing.name: 'get_service', description: 'Get service details by UUID', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Service UUID' } }, required: ['uuid'] }
- src/index.ts:36-38 (registration)Registration of all tools (including get_service) via MCP Server's listTools handler, using getToolDefinitions() from tools.this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
- src/index.ts:57-57 (registration)Dispatch to handleTool for all tool calls (including get_service) in the MCP callTool handler.const result = await handleTool(this.client, name, args || {});
- src/tools/handlers.ts:504-508 (helper)Helper function requireParam used in get_service handler to validate the 'uuid' parameter.function requireParam(args: ToolArgs, param: string): void { if (!args[param]) { throw new McpError(ErrorCode.InvalidParams, `${param} is required`); } }