claim_task
Atomically claim or renew a project task for an agent under a 30–86400-second lease, using the expected version to prevent conflicting work.
Instructions
Atomically claim or renew a task for 30–86400 seconds. Read its latest version first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| agent_id | Yes | ||
| project_id | Yes | ||
| lease_seconds | No | ||
| expected_version | Yes |