Dela via


ThreadRun.Tools Property

Definition

The overridden enabled tools used for this assistant thread run. Please note ToolDefinition is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include CodeInterpreterToolDefinition, FunctionToolDefinition and RetrievalToolDefinition.

public System.Collections.Generic.IReadOnlyList<Azure.AI.OpenAI.Assistants.ToolDefinition> Tools { get; }
member this.Tools : System.Collections.Generic.IReadOnlyList<Azure.AI.OpenAI.Assistants.ToolDefinition>
Public ReadOnly Property Tools As IReadOnlyList(Of ToolDefinition)

Property Value

Applies to