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

python
def ask(reason: str) -> 'HookResult'

Parameters

ParamField str

No description available.

Returns

ResponseField 'HookResult'

The result of the operation.

Uses

  • cls

Source

View on GitHub

praisonaiagents/hooks/types.py at line 295