Function addAgentNavigation

  • Creates and registers a navigation tool for an agent to navigate to another specified agent.

    Parameters

    • params: IAgentNavigationParams

      The parameters for configuring the navigation tool.

      • toolName

        The name of the tool.

      • description

        Description of the tool's purpose.

      • navigateTo

        The target agent to navigate to.

      • docNote

        Optional documentation note.

      • navigateProps

        Additional navigation properties.

    Returns string

    The result of adding the navigation tool.

    addAgentNavigation