ToolDefinition type

An abstract representation of an input tool definition that an assistant can use.

type ToolDefinition =
  | CodeInterpreterToolDefinition
  | RetrievalToolDefinition
  | FunctionToolDefinition