Claim the next available task
pull_next_taskAtomically claim the next task waiting for this worker — work assigned to it by name first (status 'assigned', with or without a role), then unclaimed queued work matching its roles. Returns the leased task; call get_task next for the full context bundle before starting work. API reference: https://tango.applayer.io/docs/api/tools/pull_next_task
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worker_id | No | Optional. Defaults to the worker bound to this MCP connection (one worker per harness). | |
| lease_seconds | No | Lease duration in seconds (default 2700 = 45 min, max 14400 = 4 h). |