interface AgentHandoff {
    [HANDOFF_SYMBOL]: true;
    agent: voice.Agent<any>;
    returns?: any;
}

Properties

[HANDOFF_SYMBOL]: true
agent: voice.Agent<any>

The agent to handoff to.

returns?: any

The return value of the tool.