get_task
Retrieve task details including comments and attachments from FluentBoards project management boards to support task management and collaboration.
Instructions
Get details of a specific task including comments and attachments
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"board_id": "<board_id>",
"task_id": "<task_id>"
},
"name": "get_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board_id | Yes | Board ID | |
| task_id | Yes | Task ID |
Implementation Reference
- src/tools/tasks.ts:30-34 (handler)Handler function that extracts board_id and task_id from arguments, performs a GET request to the API endpoint for the specific task, and returns the formatted response data.
const { board_id, task_id } = args; const response = await api.get(`/projects/${board_id}/tasks/${task_id}`); return formatResponse(response.data); } ); - src/tools/tasks.ts:26-29 (schema)Input schema using Zod for validating board_id and task_id as positive integers.
board_id: z.number().int().positive().describe("Board ID"), task_id: z.number().int().positive().describe("Task ID"), }, async (args) => { - src/tools/tasks.ts:23-35 (registration)Registers the get_task tool on the MCP server with name, description, input schema, and handler function.
"get_task", "Get details of a specific task including comments and attachments", { board_id: z.number().int().positive().describe("Board ID"), task_id: z.number().int().positive().describe("Task ID"), }, async (args) => { const { board_id, task_id } = args; const response = await api.get(`/projects/${board_id}/tasks/${task_id}`); return formatResponse(response.data); } );