Skip to content

Task Set Tags

Replace the user-modifiable tags on an existing task's master-list line. Manages free-form namespace tags (e.g. #admin/uhn), project tags (#projects//...), and opt-in prefixes (#ns/..., #task/...). Pass the complete desired list; anything missing is removed. Preserved: #todo, #tasker/* (mirrors store-owned state — mutate via task_change_state), #wb/todo, #wb/done, wikilinks, 🆔, plugin emojis. Project slugs are validated against the project registry — unknown slugs raise ValueError.

MCP name: task_set_tags

Category: tasks

Mutates state (retry policy: verify_first)

Parameters

Name Type Required Description
namespace_tags list[str] Yes Replacement list of tags (no leading '#'). Includes project tags (e.g. 'projects/work-buddy/systems/task-system') and free-form namespace tags. An empty list strips all user-modifiable tags.
task_id str Yes Task ID (e.g., 't-a3f8c1e2')

Requirements

  • obsidian