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