get_task
Retrieve a full Kanboard task by its numeric ID, including status, dates, column, swimlane, and metadata. Returns NOT_FOUND if the task does not exist.
Instructions
Retrieve a single Kanboard task by its numeric id. Returns the full task entity including status, dates, column, swimlane, and metadata. Returns NOT_FOUND when the task does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The task id to retrieve (must be a positive integer). |
Implementation Reference
- src/handler/kanboard.ts:412-416 (helper)KanboardHandler.getTask() helper method that calls the Kanboard API client with 'getTask' JSON-RPC method and decodes the result via TaskSchema.
public async getTask(taskId: number): Promise<Task> { const raw = await this.#apiClient.call("getTask", { task_id: taskId }); this.#logger.debug({ method: "getTask" }, "getTask OK"); return decodeGetSingle("getTask", raw, TaskSchema, this.#logger); }