Partager via


PersistentAgentsModelFactory.RunStepConnectedAgent Method

Definition

Initializes a new instance of RunStepConnectedAgent.

public static Azure.AI.Agents.Persistent.RunStepConnectedAgent RunStepConnectedAgent(string name = default, string arguments = default, string output = default, string runId = default, string threadId = default, string agentId = default);
static member RunStepConnectedAgent : string * string * string * string * string * string -> Azure.AI.Agents.Persistent.RunStepConnectedAgent
Public Shared Function RunStepConnectedAgent (Optional name As String = Nothing, Optional arguments As String = Nothing, Optional output As String = Nothing, Optional runId As String = Nothing, Optional threadId As String = Nothing, Optional agentId As String = Nothing) As RunStepConnectedAgent

Parameters

name
String

The name of connected agent.

arguments
String

The JSON serialized query to the connected agent.

output
String

The tool output.

runId
String

The run ID used by the connected agent.

threadId
String

The thread ID used by the connected agent.

agentId
String

The ID of a connected agent.

Returns

A new RunStepConnectedAgent instance for mocking.

Applies to