interface ClaimsPendingApprovals

Methods

claimPendingApprovals(string $conversationId, array $toolCallIds)

Atomically claim a paused turn with this exact pending call set, or return null if unavailable.

void
recordApprovalResult(ApprovalClaim $claim, ToolResult $result)

Durably record one result after verifying ownership of the claimed turn.

Details

at line 17
ApprovalClaim|null claimPendingApprovals(string $conversationId, array $toolCallIds)

Atomically claim a paused turn with this exact pending call set, or return null if unavailable.

Parameters

string $conversationId
array $toolCallIds

Return Value

ApprovalClaim|null

at line 22
void recordApprovalResult(ApprovalClaim $claim, ToolResult $result)

Durably record one result after verifying ownership of the claimed turn.

Parameters

ApprovalClaim $claim
ToolResult $result

Return Value

void