Skip to main content

require_approval

Function
This function is defined in the approval module.
Decorator to mark a tool as requiring human approval.

Signature

def require_approval(risk_level: RiskLevel) -> Any

Parameters

risk_level
RiskLevel
default:"'high'"
The risk level of the tool (“critical”, “high”, “medium”, “low”)

Returns

Returns
Any
The result of the operation.