Get Blocking Reason • AI Agent SDK
get_blocking_reason: Get the reason for blocking from results.
get_blocking_reason
Method
</div>
This is a method of the HookRunner class in the runner module.
Get the reason for blocking from results.
Signature
def get_blocking_reason(results: List[HookExecutionResult]) -> Optional[str]Parameters
ParamField
List[HookExecutionResult]No description available.
Returns
ResponseField
Optional[str]The result of the operation.
Uses
is_denied
Source
View on GitHubpraisonaiagents/hooks/runner.py at line 627