PersistentAgentsModelFactory.RunStepMcpToolCall Method
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 RunStepMcpToolCall.
public static Azure.AI.Agents.Persistent.RunStepMcpToolCall RunStepMcpToolCall(string id = default, string arguments = default, string name = default, string output = default, string serverLabel = default);
static member RunStepMcpToolCall : string * string * string * string * string -> Azure.AI.Agents.Persistent.RunStepMcpToolCall
Public Shared Function RunStepMcpToolCall (Optional id As String = Nothing, Optional arguments As String = Nothing, Optional name As String = Nothing, Optional output As String = Nothing, Optional serverLabel As String = Nothing) As RunStepMcpToolCall
Parameters
- id
- String
The ID of the tool call. This ID must be referenced when you submit tool outputs.
- arguments
- String
Arguments to the MCP tool call, as provided by the model. Arguments are presented as a JSON document that should be validated and parsed for evaluation.
- name
- String
Name of the function used on the MCP server.
- output
- String
Output of the MCP tool call.
- serverLabel
- String
The label for the MCP server.
Returns
A new RunStepMcpToolCall instance for mocking.