OutputItemFunctionShellCall Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of OutputItemFunctionShellCall.
public OutputItemFunctionShellCall(string id, string callId, Azure.AI.AgentServer.Responses.Models.FunctionShellAction action, Azure.AI.AgentServer.Responses.Models.LocalShellCallStatus status, Azure.AI.AgentServer.Responses.Models.FunctionShellCallEnvironment environment);
new Azure.AI.AgentServer.Responses.Models.OutputItemFunctionShellCall : string * string * Azure.AI.AgentServer.Responses.Models.FunctionShellAction * Azure.AI.AgentServer.Responses.Models.LocalShellCallStatus * Azure.AI.AgentServer.Responses.Models.FunctionShellCallEnvironment -> Azure.AI.AgentServer.Responses.Models.OutputItemFunctionShellCall
Public Sub New (id As String, callId As String, action As FunctionShellAction, status As LocalShellCallStatus, environment As FunctionShellCallEnvironment)
Parameters
- id
- String
The unique ID of the shell tool call. Populated when this item is returned via API.
- callId
- String
The unique ID of the shell tool call generated by the model.
- action
- FunctionShellAction
The shell commands and limits that describe how to run the tool call.
- status
- LocalShellCallStatus
The status of the shell call. One of in_progress, completed, or incomplete.
- environment
- FunctionShellCallEnvironment
Exceptions
id, callId or action is null.