get_task
Fetch a single task by its task ID from Habitica. Access task details including title, type, and completion status to review or update your tasks.
Instructions
Get a single task by id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes |
Implementation Reference
- index.js:378-379 (handler)Handler function for the 'get_task' tool. Makes a GET request to /tasks/{taskId} and returns the task data as JSON.
get_task: async ({ taskId }) => json((await api("GET", `/tasks/${taskId}`)).data),