get_boards
Retrieve all Trello boards for the authenticated user to view and manage workspace organization.
Instructions
Get all boards for the authenticated user
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_boards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:164-168 (handler)The handler for the 'get_boards' tool call. It invokes the TrelloClient's getBoards method and returns the result as a JSON-formatted text response.
case 'get_boards': const boards = await this.trelloClient.getBoards(); return { content: [{ type: 'text', text: JSON.stringify(boards, null, 2) }], }; - src/index.ts:59-63 (schema)Input schema definition for the 'get_boards' tool, specifying an empty object (no parameters required).
inputSchema: { type: 'object', properties: {}, title: 'get_boardsArguments', }, - src/index.ts:56-64 (registration)Tool registration in the ListTools response, defining name, description, and schema for 'get_boards'.
{ name: 'get_boards', description: 'Get all boards for the authenticated user', inputSchema: { type: 'object', properties: {}, title: 'get_boardsArguments', }, }, - src/trello-client.ts:16-21 (helper)The TrelloClient method that implements the core logic for retrieving the authenticated user's boards from the Trello API.
async getBoards(): Promise<Board[]> { const response = await axios.get( `${this.baseUrl}/members/me/boards?${this.getAuthParams()}` ); return response.data; }