Share via


ProjectsOpenAIModelFactory.LocalShellToolCallAgentResponseItem Method

Definition

A tool call to run a command on the local shell.

public static Azure.AI.Projects.OpenAI.LocalShellToolCallAgentResponseItem LocalShellToolCallAgentResponseItem(string id = default, Azure.AI.Projects.OpenAI.AgentResponseItemSource createdBy = default, Azure.AI.Projects.OpenAI.LocalShellAgentToolCallStatus status = default, string callId = default, Azure.AI.Projects.OpenAI.LocalShellAgentToolExecutionAction action = default);
static member LocalShellToolCallAgentResponseItem : string * Azure.AI.Projects.OpenAI.AgentResponseItemSource * Azure.AI.Projects.OpenAI.LocalShellAgentToolCallStatus * string * Azure.AI.Projects.OpenAI.LocalShellAgentToolExecutionAction -> Azure.AI.Projects.OpenAI.LocalShellToolCallAgentResponseItem
Public Shared Function LocalShellToolCallAgentResponseItem (Optional id As String = Nothing, Optional createdBy As AgentResponseItemSource = Nothing, Optional status As LocalShellAgentToolCallStatus = Nothing, Optional callId As String = Nothing, Optional action As LocalShellAgentToolExecutionAction = Nothing) As LocalShellToolCallAgentResponseItem

Parameters

id
String
createdBy
AgentResponseItemSource

The information about the creator of the item.

callId
String

The unique ID of the local shell tool call generated by the model.

Returns

A new LocalShellToolCallAgentResponseItem instance for mocking.

Applies to