restart-application
Restart a Coolify application by UUID to apply configuration changes. This tool stops and starts the application, refreshing its state.
Instructions
Restart a specific application using its UUID. This stops and then starts the application, applying any configuration changes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Resource UUID |
Implementation Reference
- src/index.ts:213-222 (handler)Handler for the restart-application tool: parses UUID argument, calls Coolify API to restart the application via POST to /applications/{uuid}/restart, returns JSON stringified response.case "restart-application": { const { uuid } = UuidSchema.parse(request.params.arguments); const result = await coolifyApiCall(`/applications/${uuid}/restart`); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; }
- src/index.ts:50-52 (schema)Zod schema definition for UUID input used by restart-application and similar tools for input validation.const UuidSchema = z.object({ uuid: z.string().describe("Resource UUID"), });
- src/index.ts:108-112 (registration)Tool registration in MCP server's ListTools handler, defining name, description, and JSON schema for input.{ name: "restart-application", description: "Restart a specific application using its UUID. This stops and then starts the application, applying any configuration changes.", inputSchema: zodToJsonSchema(UuidSchema), },