echo
Test API connectivity by returning input messages for verifying communication with the Youth Activity Information MCP Server.
Instructions
입력받은 메시지를 그대로 반환합니다
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | 반환할 메시지 |
Implementation Reference
- src/index.ts:391-401 (handler)The handler for the 'echo' tool, which extracts the 'message' from arguments and returns it as text content prefixed with 'Echo: '.case "echo": { const message = args?.message as string; return { content: [ { type: "text", text: `Echo: ${message}`, }, ], }; }
- src/index.ts:164-177 (registration)Registers the 'echo' tool in the listTools response, including its name, Korean description, and input schema requiring a 'message' string.{ name: "echo", description: "입력받은 메시지를 그대로 반환합니다", inputSchema: { type: "object", properties: { message: { type: "string", description: "반환할 메시지", }, }, required: ["message"], }, },
- src/index.ts:167-177 (schema)The input schema for the 'echo' tool, defining a required 'message' property of type string.inputSchema: { type: "object", properties: { message: { type: "string", description: "반환할 메시지", }, }, required: ["message"], }, },