Skip to main content
Glama

restart_application

Restart an application to apply configuration changes or recover from issues by stopping and starting it using its UUID.

Instructions

Restart an application by stopping and starting it again. Useful for applying configuration changes or recovering from issues.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesUUID of the application to restart. Get this from list_applications.

Implementation Reference

  • Handler that restarts the application by calling the Coolify API GET /applications/{uuid}/restart endpoint and returns the response.
    case 'restart_application': const restartAppResponse = await this.axiosInstance.get(`/applications/${request.params.arguments?.uuid}/restart`); return { content: [{ type: 'text', text: JSON.stringify(restartAppResponse.data, null, 2) }] };
  • src/index.ts:929-967 (registration)
    Tool registration in the ListTools response, defining the name, description, input schema (requiring uuid), examples, workflow, related tools, and notes.
    { name: 'restart_application', description: 'Restart an application by stopping and starting it again. Useful for applying configuration changes or recovering from issues.', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'UUID of the application to restart. Get this from list_applications.', pattern: '^[a-zA-Z0-9]+$' } }, required: ['uuid'], examples: [ { uuid: 'sg4gsws44wksg040o4ok80ww' } ], additionalInfo: { workflow: [ '1. Get the application UUID from list_applications', '2. Restart the application', '3. Monitor the application status' ], relatedTools: [ 'list_applications - Get UUIDs of available applications', 'start_application - Start the application if restart fails', 'stop_application - Stop the application if restart hangs', 'execute_command_application - Run commands to verify operation' ], notes: [ 'Restart performs a graceful stop and start', 'Application will be briefly unavailable during restart', 'Useful for applying configuration changes', 'Monitor application after restart to ensure proper operation' ] } } },

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/wrediam/coolify-mcp-server'

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