tools

public abstract GenerateContentConfig.Builder tools(List<Tool> tools)
@CanIgnoreReturnValue()
public GenerateContentConfig.Builder tools(Array<Tool> tools)

Setter for tools.

tools: Code that enables the system to interact with external systems to perform an action outside of the knowledge and scope of the model.


@CanIgnoreReturnValue()
public GenerateContentConfig.Builder tools(Array<Tool.Builder> toolsBuilders)

Setter for tools builder.

tools: Code that enables the system to interact with external systems to perform an action outside of the knowledge and scope of the model.