function createHandoffTool(availableAgents, currentAgentId?): AiSdkTool;
availableAgents
AgentConfig[]
AgentConfig
currentAgentId?
string
AiSdkTool