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

python
def new(event: HookEvent, session_id: impl Into<String>) -> Self

Parameters

ParamField HookEvent

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.