handoff • Rust AI Agent SDK
handoff: Create a handoff to another agent # Arguments * `target` – Name of the target agent * `message` – Optional handoff message
handoff
Function
</div>
This function is defined in the workflow_aliases module.
Create a handoff to another agent # Arguments target – Name of the target agent message – Optional handoff message
Signature
def handoff(target: impl Into<String>, message: Option<&str>) -> HandoffConfigParameters
ParamField
impl Into<String>No description available.
ParamField
Option<&str>No description available.
Returns
ResponseField
HandoffConfigThe result of the operation.
Uses
message
Source
View on GitHubpraisonai/src/parity/workflow_aliases.rs at line 193