Tool represents a tool that can be called during chat.
function represents the function definition.
type represents the type of tool to call. Only 'function' is currently supported.
Tool represents a tool that can be called during chat.