Skip to main content
Glama

restart-application

Restart a specific application by its UUID to apply configuration changes. This tool stops and then starts the application, ensuring updates are implemented.

Instructions

Restart a specific application using its UUID. This stops and then starts the application, applying any configuration changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesResource UUID

Implementation Reference

  • Handler for restart-application tool: parses UUID, calls Coolify API to restart the application at `/applications/${uuid}/restart`, and returns the JSON result.
    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) }] }; }
  • UuidSchema defines the input schema for the restart-application tool, requiring a 'uuid' string.
    const UuidSchema = z.object({ uuid: z.string().describe("Resource UUID"), });
  • src/index.ts:108-112 (registration)
    Registration of the restart-application tool in the ListTools response, including name, description, and input schema.
    { 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), },

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/StuMason/coolify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server