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
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | UUID of the application to restart. Get this from list_applications. |
Implementation Reference
- src/index.ts:1428-1432 (handler)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' ] } } },