Validate the transition target
The handler accepts only known task IDs and status values. A production app must additionally check workspace membership and update rights.
Industry playground / SaaS operations
Filter a small project board, update task status and inspect an accurate project summary.
What this example teaches
The handler accepts only known task IDs and status values. A production app must additionally check workspace membership and update rights.
Counts are computed from the board after each change, so tool output stays aligned with the interface. No generated summary is needed for this structured result.
Common questions
No. It demonstrates the pattern with a small in-memory board.
No. This demo deliberately resets on page reload. Production task tools should use your existing persistence layer.
API references reviewed September 7, 2026.Chrome imperative API