echo
Echo back a provided message using this tool on the Bootstrap MCP Server, designed for testing and validating MCP server setups.
Instructions
Echo back the provided message
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Message to echo |
Implementation Reference
- src/server.ts:117-127 (handler)The handler function for the 'echo' tool, which returns the provided message as text content.private handleEcho(args: any) { const message = args.message as string return { content: [ { type: 'text', text: message, }, ], } }
- src/server.ts:27-40 (schema)The schema definition for the 'echo' tool, including name, description, and input schema.{ name: 'echo', description: 'Echo back the provided message', inputSchema: { type: 'object', properties: { message: { type: 'string', description: 'Message to echo', }, }, required: ['message'], }, },
- src/server.ts:84-85 (registration)The dispatch/registration case in the CallToolRequest handler that maps 'echo' tool calls to the handleEcho method.case 'echo': return this.handleEcho(args)