task_claim
Claim an open task to mark it as yours and prevent concurrent agents from duplicating work. Sets status to 'claimed'.
Instructions
DEPRECATED: the harness owns this now, Claude Code discovers peers and manages its own task list. Still works; not where new work should go.
Claim an open task, marks it as yours and sets status to 'claimed'.
Always claim a task before working on it. This prevents two agents from doing the same work. Call task_complete(), task_fail(), or task_unclaim() when done.
Args: task_id: ID from task_list() or task_create(). body: Optional note recorded on the task's comment log (e.g. why you're picking this up).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional note recorded on the task's comment log (e.g. why you're picking this up). | |
| task_id | Yes | ID from task_list() or task_create(). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |