toolType

public abstract ToolCall.Builder toolType(ToolType toolType)

Setter for toolType.

toolType: The type of tool that was called.


@CanIgnoreReturnValue()
public ToolCall.Builder toolType(ToolType.Known knownType)

Setter for toolType given a known enum.

toolType: The type of tool that was called.


@CanIgnoreReturnValue()
public ToolCall.Builder toolType(String toolType)

Setter for toolType given a string.

toolType: The type of tool that was called.