Skip to main content

HookInput

Defined in the hooks module.
Rust AI Agent SDK Input data for hooks

Fields

Methods

new

Create a new hook input Parameters:

with_agent

Set agent name Parameters:

with_tool

Set tool info Parameters:

with_message

Set message Parameters:

with_error

Set error Parameters:

with_extra

Add extra data Parameters:

Source

View on GitHub

praisonai/src/hooks/mod.rs at line 105

Rust Hooks

Rust Events

Rust Callbacks