Package:
@hexos/runtimeExtracts the target agent ID from a handoff tool name.
Strips the handoff_to_ prefix to recover the original agent ID.
Returns null if the tool name is not a handoff tool.
function getHandoffTargetFromToolName(toolName: string): string | nullParameters
toolName
string