block • AI Agent SDK
block: Create a block result.
block
Method
</div>
This is a method of the HookResult class in the types module.
Create a block result.
Signature
def block(reason: str) -> 'HookResult'Parameters
ParamField
strNo description available.
Returns
ResponseField
'HookResult'The result of the operation.
Uses
cls
Source
View on GitHubpraisonaiagents/hooks/types.py at line 290