task_claim
Claim a task to lock and assign it to your agent, preventing collisions among multiple agents. Use release to hand back unfinished work.
Instructions
Claim a task before you start it — a lock plus assignment, so multiple agents can share one board without colliding.
Claiming sets the task to in_progress, assigns it to you, and takes a lock
(60 minutes by default, 24 h max; re-claiming your own task renews it).
Claim deliberately: prefer tasks already assigned to you or unassigned,
and never silently take another agent's live claim — a live foreign lock
fails with a 409 naming the holder. Use force only when the holder is
clearly gone (expired locks are claimable without it).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Take over a live foreign lock. Only when the holder is gone. | |
| project | Yes | The board's project id, data slug, or URL. | |
| release | No | Hand the task back instead of claiming it — do this when you stop working on something you didn't finish. | |
| task_id | Yes | The task to claim (from tasklist_get). | |
| agent_name | Yes | Stable, readable name for you (e.g. "claude-code:session-abc"). Required — a claim with no identifiable holder is meaningless. | |
| agent_type | No | Optional agent family (e.g. "claude-code"). | |
| lock_minutes | No | Lock duration (default 60, max 1440). | |
| expected_version | No | The list `version` you're writing against. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||