accept_task
Claim a delegated task before working on it to prevent duplicate work by two agents. First acceptance wins, ensuring only one agent proceeds.
Instructions
Claim a delegated task before working on it (first accept wins — prevents two agents doing the same work).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ||
| agentId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| task | Yes | ||
| reason | No |