Skip to content

ToolApprovalPolicyDecision

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The outcome of a code-defined approval policy (ToolApprovalContext).

public enum ToolApprovalPolicyDecision

NotRequired = 1

The call is approved without asking the user. Overrides the data rules.

Required = 2

The call must ask the user for approval. Overrides the data rules.

Undecided = 0

The policy does not decide; the data rules (ToolApprovalRule) decide instead.