claim_card
Atomically lease a card to prevent other agents from picking it up. Lease expires after ttl_seconds unless renewed; crashed agents' cards become reclaimable. After claiming, assign yourself and move to started column.
Instructions
Atomically lease a card so no other agent picks it up (visible in list_work).
The lease expires after ttl_seconds unless renewed via heartbeat_claim — a crashed
agent's card becomes claimable again automatically. owner overrides the actor
(claim on behalf of a specific worker); defaults to the connection's own actor.
Convention: after claiming, assign yourself and move the card to a started column.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | No | ||
| card_id | Yes | ||
| ttl_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | ||
| card_id | Yes | ||
| expires_at | Yes |