Before Agent • Rust AI Agent SDK
before_agent: Called before agent execution
before_agent
Method
</div>
This is a method of the HookPluginProtocol class in the plugins module.
Called before agent execution
Signature
def before_agent(&self, _agent_name: &str, _input: &str) -> Result<Option<String>, String>Parameters
ParamField
&strNo description available.
ParamField
&strNo description available.