Before Agent • Rust AI Agent SDK
before_agent: Run before-agent hooks
before_agent
Method
</div>
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
ParamField
&strNo description available.
ParamField
&strNo description available.
ParamField
&strNo description available.