Interface ToolReference.Builder

  • Method Details

    • type

      The type of tool reference.

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

      The name of the tool. Must match the name of a tool declared in the top-level tool configuration.

      Parameters:
      name - The name of the tool. Must match the name of a tool declared in the top-level tool configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverName

      ToolReference.Builder serverName(String serverName)

      The name of the MCP server that provides the tool. Required when referencing an MCP tool.

      Parameters:
      serverName - The name of the MCP server that provides the tool. Required when referencing an MCP tool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.