Open src/index.ts and update it:
Zod is a schema validation library. It defines what inputs your tool accepts and what outputs it returns.
z.string() - The parameter must be a string.describe() - Helps the AI understand what to passCommon Zod types:
z.string() - Textz.number() - Numbersz.boolean() - True/falsez.array(z.string()) - Array of stringsz.object({ key: z.string() }) - Nested objectz.string().optional() - Optional parameterDefines the structure of your tool's response. Helps clients understand what to expect.
content - Array of content blocks (text, images, etc.) for displaystructuredContent - Typed object matching outputSchema for programmatic useYou can register multiple tools: