echo
Send a message to receive an immediate reply using the mcp-flyin server. Designed to verify communication and test message handling in custom protocols.
Instructions
Echo back the input message
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Message to echo back |
Implementation Reference
- server.js:84-92 (handler)The handler logic for the 'echo' tool that returns the input message prefixed with 'Echo:' in a text content block.case 'echo': return { content: [ { type: 'text', text: `Echo: ${args.message}`, }, ], };
- server.js:33-42 (schema)The input schema definition for the 'echo' tool, specifying an object with a required 'message' string property.inputSchema: { type: 'object', properties: { message: { type: 'string', description: 'Message to echo back', }, }, required: ['message'], },
- server.js:30-44 (registration)The registration of the 'echo' tool in the listTools response, including name, description, and input schema.{ name: 'echo', description: 'Echo back the input message', inputSchema: { type: 'object', properties: { message: { type: 'string', description: 'Message to echo back', }, }, required: ['message'], }, }, {