Allow Only • Rust AI Agent SDK

allow_only: Allow only specific agents

allow_only

Method

</div>

This is a method of the HandoffFilters class in the workflow_aliases module.

Allow only specific agents

Signature

python
def allow_only(agents: Vec<String>) -> Self

Parameters

ParamField Vec&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.