len • Rust AI Agent SDK

len: Get context length

len

Method

</div>

This is a method of the ContextAgent class in the specialized module.

Get context length

Signature

python
def len(&self) -> usize

Returns

ResponseField usize

The result of the operation.