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

python
def register(&mut self, tool: impl Tool + 'static) -> ()

Parameters

ParamField impl Tool + 'static

No description available.

Returns

ResponseField ()

The result of the operation.