register • Rust AI Agent SDK
register: Register a tool
register
Method
</div>
This is a method of the ToolRegistry class in the tools module.
Register a tool
Signature
def register(&mut self, tool: impl Tool + 'static) -> ()Parameters
ParamField
impl Tool + 'staticNo description available.
Returns
ResponseField
()The result of the operation.