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