With Target • Rust AI Agent SDK

with_target: Set target agent

with_target

Method

</div>

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

Set target agent

Signature

python
def with_target(mut self, agent: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.