Allow With Reason • Rust AI Agent SDK
allow_with_reason: Create an allow result with reason
allow_with_reason
Method
</div>
This is a method of the HookResult class in the hooks module.
Create an allow result with reason
Signature
def allow_with_reason(reason: impl Into<String>) -> SelfParameters
ParamField
impl Into<String>No description available.
Returns
ResponseField
SelfThe result of the operation.