addTool

public final AllowedTools.Builder addTool(String tool)

Adds a single String to tools.

Throws

if the field was previously set to a non-list.