claim_signal
:
Instructions
Claim one signal with a short lease for lightweight work coordination.
Use this when a worker should take ownership of a pending signal before it acts.
If signal_id is omitted, the bridge claims the next eligible signal in the
namespace that matches the optional filters, with a small fairness bias inside
the oldest pending window so one polling consumer does not keep winning by accident.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | Namespace that holds the coordination events to claim, such as `project:<workspace>`. | |
| consumer | Yes | Stable worker or agent identifier that will own the lease, for example `reviewer-a` or `worker:planner`. | |
| lease_seconds | No | How long the claim lease should last before another consumer can reclaim the signal. | |
| signal_id | No | Optional exact signal id to claim. Leave empty to claim the next eligible signal. | |
| tags_any | No | Optional OR-style tag filter used to narrow which pending signals are claimable. | |
| correlation_id | No | Optional workflow correlation id used to claim signals from one handoff thread. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||