ask • AI Agent SDK
ask: Create an ask result (requires user confirmation).
ask
Method
</div>
This is a method of the HookResult class in the types module.
Create an ask result (requires user confirmation).
Signature
def ask(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 295