new • Rust AI Agent SDK
new: Create a new hook input
new
Method
</div>
This is a method of the HookInput class in the hooks module.
Create a new hook input
Signature
def new(event: HookEvent, session_id: impl Into<String>) -> SelfParameters
ParamField
HookEventNo description available.
ParamField
impl Into<String>No description available.
Returns
ResponseField
SelfThe result of the operation.