remove_label
Remove a label from a task in FluentBoards project management to organize and update task categorization.
Instructions
Remove a label from a task
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board_id | Yes | Board ID | |
| task_id | Yes | Task ID | |
| label_id | Yes | Label ID |
Implementation Reference
- src/tools/labels.ts:36-43 (handler)The handler function for the 'remove_label' tool. It destructures the arguments, makes a DELETE request to the API endpoint to remove the label from the task, and formats the response.async (args) => { const { board_id, task_id, label_id } = args; const response = await api.delete( `/projects/${board_id}/tasks/${task_id}/labels/${label_id}` ); return formatResponse(response.data); }
- src/tools/labels.ts:31-35 (schema)Zod input schema for the 'remove_label' tool, requiring positive integer IDs for board, task, and label.{ board_id: z.number().int().positive().describe("Board ID"), task_id: z.number().int().positive().describe("Task ID"), label_id: z.number().int().positive().describe("Label ID"), },
- src/tools/labels.ts:28-44 (registration)Direct registration of the 'remove_label' tool using server.tool(), including name, description, schema, and handler.server.tool( "remove_label", "Remove a label from a task", { board_id: z.number().int().positive().describe("Board ID"), task_id: z.number().int().positive().describe("Task ID"), label_id: z.number().int().positive().describe("Label ID"), }, async (args) => { const { board_id, task_id, label_id } = args; const response = await api.delete( `/projects/${board_id}/tasks/${task_id}/labels/${label_id}` ); return formatResponse(response.data); } );
- src/index.ts:25-25 (registration)Top-level call to registerLabelTools(server), which includes registration of the 'remove_label' tool.registerLabelTools(server);