tools

Sets the tools available to the assistant. When using tools, you should use instructions to command the assistant to use the tools. Otherwise, the assistant tends to skip over the tools.

In general, you should use addTool instead of this method. If you are a Kotlin developer, you should use the extension functions.

Parameters

tools

The tools available to the assistant

Throws

if there are more than 128 tools