list_tasks
Retrieve all tasks from a specified board in FluentBoards project management to view, organize, or manage workflow 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 handler function for the 'list_tasks' tool. It extracts the board_id from arguments, fetches the list of tasks from the API endpoint `/projects/${board_id}/tasks`, formats the response using formatResponse, and returns it.
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 input schema for the 'list_tasks' tool, defining a required positive integer board_id.
{ board_id: z.number().int().positive().describe("Board ID"), }, - src/tools/tasks.ts:8-19 (registration)Registration of the 'list_tasks' tool on the MCP server using server.tool(), including name, description, input schema, and inline handler function.
server.tool( "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)Invocation of registerTaskTools on the main MCP server instance, which registers the 'list_tasks' tool among others.
registerTaskTools(server);