allow • Rust AI Agent SDK

allow: Create an allow result

allow

Method

</div>

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

Create an allow result

Signature

python
def allow() -> Self

Returns

ResponseField Self

The result of the operation.