GitHub Copilot Train-the-Trainer
server.tool(
"search_team",
"Search team members by name, role, or team. Returns matching results.",
{ query: z.string().describe("Name, role, or team to search") },
async ({ query }) => ({ content: [{ type: "text", text: query }] })
);
Clear descriptions and typed inputs help the model call the tool correctly.