Is Allowed • AI Agent SDK
is_allowed: Check if the result allows execution.
is_allowed
Method
</div>
This is a method of the HookResult class in the types module.
Check if the result allows execution.
Signature
def is_allowed() -> boolReturns
ResponseField
boolThe result of the operation.
Source
View on GitHubpraisonaiagents/hooks/types.py at line 299