contains • Rust AI Agent SDK

contains: Check if agent is in chain (cycle detection)

contains

Method

</div>

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

Check if agent is in chain (cycle detection)

Signature

python
def contains(&self, agent_name: &str) -> bool

Parameters

ParamField &str

No description available.

Returns

ResponseField bool

The result of the operation.