get_lists
Retrieve all lists from a specified Trello board to organize and manage tasks efficiently. Simplifies board management by providing structured data for better workflow planning.
Instructions
Retrieve all lists from the specified board
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:235-240 (handler)MCP CallToolRequest handler case for 'get_lists': fetches lists using TrelloClient and returns JSON-formatted response.
case 'get_lists': { const lists = await this.trelloClient.getLists(); return { content: [{ type: 'text', text: JSON.stringify(lists, null, 2) }], }; } - src/index.ts:76-83 (registration)Tool registration in ListTools response, including name, description, and empty input schema.
name: 'get_lists', description: 'Retrieve all lists from the specified board', inputSchema: { type: 'object', properties: {}, required: [], }, }, - src/trello-client.ts:82-88 (helper)TrelloClient.getLists() method: makes API request to fetch lists from the board and handles errors/rate limiting.
async getLists(): Promise<TrelloList[]> { console.error(`[TrelloClient] Getting lists for board: ${this.config.boardId}`); return this.handleRequest(async () => { const response = await this.axiosInstance.get(`/boards/${this.config.boardId}/lists`); return response.data; }); }