ask • Rust AI Agent SDK

ask: Create an ask result

ask

Method

</div>

This is a method of the HookResult class in the hooks module.

Create an ask result

Signature

python
def ask(reason: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.