len • Rust AI Agent SDK

len: Get the number of registered tools

len

Method

</div>

This is a method of the ToolRegistry class in the tools module.

Get the number of registered tools

Signature

python
def len(&self) -> usize

Returns

ResponseField usize

The result of the operation.