task_claim
Claim an unassigned task to reserve it for yourself and prevent duplicate work by other agents.
Instructions
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 |
|---|---|---|---|
| task_id | Yes | ID from task_list() or task_create(). | |
| body | No | Optional note recorded on the task's comment log (e.g. why you're picking this up). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |