ResponseEventStream.AddOutputItemMcpCall(String, String) 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.
Creates an MCP tool call output item scope with the next output index and an auto-generated item ID.
public virtual Azure.AI.AgentServer.Responses.OutputItemMcpCallBuilder AddOutputItemMcpCall(string serverLabel, string name);
abstract member AddOutputItemMcpCall : string * string -> Azure.AI.AgentServer.Responses.OutputItemMcpCallBuilder
override this.AddOutputItemMcpCall : string * string -> Azure.AI.AgentServer.Responses.OutputItemMcpCallBuilder
Public Overridable Function AddOutputItemMcpCall (serverLabel As String, name As String) As OutputItemMcpCallBuilder
Parameters
- serverLabel
- String
The MCP server label.
- name
- String
The tool name.
Returns
A new OutputItemMcpCallBuilder for the MCP tool call output item.