todo_show
Display detailed information about a specific checklist, including tasks, progress, and comments, to effectively manage and track your to-do items.
Instructions
Mostra os detalhes de uma lista específica
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listTitle | Yes | Título da lista |
Implementation Reference
- src/index.ts:217-228 (handler)The handler for the 'todo_show' tool. It validates the input using showSchema, retrieves the user's checklists, finds the specific list by title, and returns its details as JSON.case "todo_show": { console.error('DEBUG - Processing todo_show'); const params = showSchema.parse(args); const userLists = await checklistService.getUserChecklists('current-user'); const targetList = userLists.find(l => l.title === params.listTitle); if (!targetList) { throw new Error(`Lista não encontrada: ${params.listTitle}`); } return { content: [{ type: "text", text: JSON.stringify(targetList, null, 2) }] }; }
- src/index.ts:46-48 (schema)Zod schema used for input validation in the todo_show handler.const showSchema = z.object({ listTitle: z.string() });
- src/index.ts:134-144 (registration)Registration of the 'todo_show' tool in the ListTools response, including its name, description, and input schema.{ name: "todo_show", description: "Mostra os detalhes de uma lista específica", inputSchema: { type: "object", properties: { listTitle: { type: "string", description: "Título da lista" }, }, required: ["listTitle"], }, },