echo
Send a message and receive it back instantly. This tool is part of the MCP Server Scaffold, designed to enable standardized interactions between AI systems and data sources.
Instructions
Echo back the provided message
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | The message to echo back |
Implementation Reference
- src/index.ts:46-58 (registration)Registration of the 'echo' tool in the listTools handler, including name, description, and input schema (object with required 'message' string).name: 'echo', description: 'Echo back the provided message', inputSchema: { type: 'object', properties: { message: { type: 'string', description: 'The message to echo back', }, }, required: ['message'], }, } as Tool,
- src/index.ts:77-85 (handler)Handler logic for the 'echo' tool: echoes back the input message prefixed with 'Echo:' in a text content block.case 'echo': return { content: [ { type: 'text', text: `Echo: ${args.message}`, }, ], };