deny • Rust AI Agent SDK

deny: Create a deny result

deny

Method

</div>

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

Create a deny result

Signature

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

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.