task_claim
Assign an open task to yourself to prevent duplicate work. Optionally add a note explaining why you are claiming it.
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 | ||
| body | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |