Lingua

ProjectsAgentsModelFactory.ToolboxRecord Method

Definition

A toolbox that stores reusable tool definitions for agents.

public static Azure.AI.Projects.Agents.ToolboxRecord ToolboxRecord(string id = default, string name = default, DateTimeOffset updatedOn = default, Azure.AI.Projects.Agents.ToolboxVersions versions = default, string defaultVersion = default);
static member ToolboxRecord : string * string * DateTimeOffset * Azure.AI.Projects.Agents.ToolboxVersions * string -> Azure.AI.Projects.Agents.ToolboxRecord
Public Shared Function ToolboxRecord (Optional id As String = Nothing, Optional name As String = Nothing, Optional updatedOn As DateTimeOffset = Nothing, Optional versions As ToolboxVersions = Nothing, Optional defaultVersion As String = Nothing) As ToolboxRecord

Parameters

id
String

The unique identifier of the toolbox.

name
String

The name of the toolbox.

updatedOn
DateTimeOffset

The Unix timestamp (seconds) when the toolbox was last updated. This value changes when a new toolbox version is created or the toolbox is updated.

versions
ToolboxVersions

The versions associated with the toolbox.

defaultVersion
String

The version identifier that the toolbox currently points to. Defaults to the latest version. Can be changed via updateToolbox.

Returns

A new ToolboxRecord instance for mocking.

Applies to