Is Denied • Rust AI Agent SDK

is_denied: Check if the result denies execution

is_denied

Method

</div>

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

Check if the result denies execution

Signature

python
def is_denied(&self) -> bool

Returns

ResponseField bool

The result of the operation.