DocsRuntimellm-providersProviderApprovalDecision
Package: @hexos/runtime

Extended approval decision with optional provider-specific error code.

Used by provider implementations to include error codes when a tool execution is rejected during the approval flow.

interface ProviderApprovalDecision extends ApprovalDecision {
    code?: string;
}

code

string