update_task_tag
Change the tag of an already logged task without altering its original log date, status, description, or ID. Retag or clear a task's category retroactively while preserving its history.
Instructions
Change the tag on an existing logged task, without altering its log_date, status, description, or ID.
Use this whenever the user wants to retroactively add, change, or
remove a category/tag on a task they already logged — e.g. "tag #12
as infra" or "remove the tag from #7". This is the correct tool for
that; do NOT delete and re-log the task, since that rewrites its
original log_date and loses history.
Pass tag=None (or an empty string) to clear an existing tag.
Note: if the task has subtasks (other tasks tagged "subtask:<task_id>"),
those are untouched by this call — only task_id's own tag changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| task_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |