Is Allowed • Rust AI Agent SDK

is_allowed: Check if the result allows execution

is_allowed

Method

</div>

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

Check if the result allows execution

Signature

python
def is_allowed(&self) -> bool

Returns

ResponseField bool

The result of the operation.