Step Count • Rust AI Agent SDK

step_count: Get step count.

step_count

Method

</div>

This is a method of the Plan class in the planning module.

Get step count.

Signature

python
def step_count(&self) -> usize

Returns

ResponseField usize

The result of the operation.