todo_show
Display details of a specific checklist to view tasks, track progress, and manage items within the MCP TODO Checklist Server.
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)Handler for the todo_show tool: parses input using showSchema, fetches user's checklists via ChecklistService, locates the specific list by title, and returns its full details as formatted JSON text.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 validation schema for todo_show input, requiring 'listTitle' string.const showSchema = z.object({ listTitle: z.string() });
- src/index.ts:134-144 (registration)Tool registration in ListTools response: defines name, description, and MCP input schema for todo_show.{ 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"], }, },