checkout_task
Atomically acquire an exclusive, TTL-based lock on a task to prevent other agents from checking it out at the same time. Use before starting work to ensure exclusive access.
Instructions
Atomically acquire an exclusive lock on a task. Prevents other agents from checking out the same task simultaneously. The lock is TTL-based and will expire automatically after ttl_minutes (default 120). Use before starting work on a task to ensure exclusive access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task ID to check out. | |
| ttl_minutes | No | Lock TTL in minutes (default 120). |