With Depth • Rust AI Agent SDK

with_depth: Set handoff depth

with_depth

Method

</div>

This is a method of the HandoffResult class in the handoff module.

Set handoff depth

Signature

python
def with_depth(mut self, depth: usize) -> Self

Parameters

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.