Ping
pingCheck the operational status and connectivity of the Ditto MCP server to ensure it's ready for secure database queries.
Instructions
Health check for the Ditto MCP server
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/mcpServer.ts:33-33 (handler)The handler function for the 'ping' tool, which returns a simple 'pong' response.
async () => ({ content: [{ type: 'text', text: 'pong' }] }), - src/mcpServer.ts:31-31 (schema)The input schema for the 'ping' tool, which is empty (no parameters expected).
inputSchema: {}, - src/mcpServer.ts:26-34 (registration)Registration of the 'ping' tool using McpServer.registerTool, including schema and handler.
server.registerTool( 'ping', { title: 'Ping', description: 'Health check for the Ditto MCP server', inputSchema: {}, }, async () => ({ content: [{ type: 'text', text: 'pong' }] }), );