import { z } from 'zod';
import { UnifiedTool } from './registry.js';
/**
* Simple ping tool for testing MCP connection
*/
export const pingTool: UnifiedTool = {
name: 'ping',
description: 'Echo a message back - useful for testing MCP connection',
zodSchema: z.object({
prompt: z.string().default('').describe("Message to echo back"),
}),
category: 'simple',
execute: async (args) => {
const message = args.prompt || 'pong';
return `Echo: ${message}`;
},
};
/**
* Get all simple tools
*/
export function getSimpleTools(): UnifiedTool[] {
return [pingTool];
}