Method Deny
Deny(AgentRunToolCall, string, string)
Denies a call; the model is told the reason and the call never runs.
public static ToolApprovalDecision Deny(AgentRunToolCall call, string reason, string decidedBy = null)
Parameters
callAgentRunToolCallThe call, from PendingRound.
reasonstringWhy it was denied.
decidedBystringWho decided.
Returns
- ToolApprovalDecision
The decision.