claim_next_batch
Claim the next pending mock batch to acquire a lease for processing. Use this before providing mock data to prevent conflicts.
Instructions
Claim the next pending mock batch for processing. This acquires a lease on the batch.
You MUST call this before provide_batch_mock_data. The batch will be locked for 30 seconds (configurable via leaseMs). If you don't provide mock data within the lease time, the batch will be released for another adapter to claim.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | No | Optional: Filter to only claim batches from a specific test run. | |
| leaseMs | No | Optional: Lease duration in milliseconds. Default: 30000 (30 seconds). |