hello
Test connectivity to Jimeng MCP Server's AI image and video generation services by sending a greeting message to verify the server is operational.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |
Implementation Reference
- src/server.ts:20-26 (handler)The 'hello' tool is defined and registered directly within the 'createServer' function in 'src/server.ts' using the 'server.tool' method. It accepts a 'name' string as an input and returns a greeting message.
server.tool( "hello", { name: z.string() }, async ({ name }) => ({ content: [{ type: "text", text: `你好,${name}!` }] }) );