list_tasks
Retrieve all tasks from a specified board in FluentBoards project management to view, organize, or manage project items.
Instructions
List tasks in a board
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board_id | Yes | Board ID |
Implementation Reference
- src/tools/tasks.ts:14-18 (handler)The core handler function for the 'list_tasks' tool. It extracts the board_id from arguments, fetches tasks via API, and returns a formatted response.async (args) => { const { board_id } = args; const response = await api.get(`/projects/${board_id}/tasks`); return formatResponse(response.data); }
- src/tools/tasks.ts:11-13 (schema)Zod schema for input parameters of the 'list_tasks' tool, validating board_id as a positive integer.{ board_id: z.number().int().positive().describe("Board ID"), },
- src/tools/tasks.ts:9-19 (registration)The server.tool call that registers the 'list_tasks' tool with its name, description, input schema, and handler function."list_tasks", "List tasks in a board", { board_id: z.number().int().positive().describe("Board ID"), }, async (args) => { const { board_id } = args; const response = await api.get(`/projects/${board_id}/tasks`); return formatResponse(response.data); } );
- src/index.ts:23-23 (registration)Call to registerTaskTools(server), which in turn registers the 'list_tasks' tool along with other task-related tools.registerTaskTools(server);