Interface ToolDescriptionOutput.Builder

  • Method Details

    • toolName

      The name of the tool.

      Parameters:
      toolName - The name of the tool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedToolDescription

      ToolDescriptionOutput.Builder recommendedToolDescription(String recommendedToolDescription)

      The optimized tool description text generated by the recommendation.

      Parameters:
      recommendedToolDescription - The optimized tool description text generated by the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • explanation

      ToolDescriptionOutput.Builder explanation(String explanation)

      An explanation of why the recommendation was generated for this tool and what patterns were identified in the agent traces.

      Parameters:
      explanation - An explanation of why the recommendation was generated for this tool and what patterns were identified in the agent traces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.