ping
Test connectivity to the Coolify MCP Server by sending a diagnostic request to verify the server is responsive and operational.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| random_string | No | Dummy parameter for no-parameter tools |
Implementation Reference
- src/mcp-server.ts:369-380 (registration)Registers the 'ping' tool with an optional input schema (random_string) and an inline asynchronous handler that returns a text content confirming the Coolify MCP server is running and connected. This serves as both registration, schema definition, and handler implementation.server.tool( 'ping', { random_string: z.string().optional().describe("Dummy parameter for no-parameter tools") }, async () => ({ content: [{ type: 'text', text: 'Coolify MCP server is running and connected!' }] }) );
- src/mcp-server.ts:374-379 (handler)The handler function for the 'ping' tool, which ignores any input and returns a structured response indicating the server is operational.async () => ({ content: [{ type: 'text', text: 'Coolify MCP server is running and connected!' }] })
- src/mcp-server.ts:371-372 (schema)Input schema for the 'ping' tool using Zod, defining an optional string parameter as a dummy for no-parameter tools.{ random_string: z.string().optional().describe("Dummy parameter for no-parameter tools")