ClaimsPendingApprovals
interface ClaimsPendingApprovals
Methods
ApprovalClaim|null
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.
at line 22
void
recordApprovalResult(ApprovalClaim $claim, ToolResult $result)
Durably record one result after verifying ownership of the claimed turn.