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
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ping"
}
}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' }] }), );