Skip to main content

before_agent

Method
This is a method of the HookRunner class in the hooks module.
Run before-agent hooks

Signature

def before_agent(
        &self,
        session_id: &str,
        agent_name: &str,
        message: &str,
    ) -> Result<HookResult>

Parameters

session_id
&str
required
No description available.
agent_name
&str
required
No description available.
message
&str
required
No description available.

Returns

Returns
Result<HookResult>
The result of the operation.