SessionResponseMcpCallItem Class
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.
A response item that represents a call to an MCP tool.
public class SessionResponseMcpCallItem : Azure.AI.VoiceLive.SessionResponseItem, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.SessionResponseMcpCallItem>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.SessionResponseMcpCallItem>
type SessionResponseMcpCallItem = class
inherit SessionResponseItem
interface IJsonModel<SessionResponseMcpCallItem>
interface IPersistableModel<SessionResponseMcpCallItem>
Public Class SessionResponseMcpCallItem
Inherits SessionResponseItem
Implements IJsonModel(Of SessionResponseMcpCallItem), IPersistableModel(Of SessionResponseMcpCallItem)
- Inheritance
- Implements
Properties
| Name | Description |
|---|---|
| ApprovalRequestId |
The ID of the approval request, if any. |
| Arguments |
The arguments for the tool call. |
| Error |
The error, if any, from the tool call. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
| Id |
Gets the Id. (Inherited from SessionResponseItem) |
| Name |
The name of the tool to call. |
| Output |
The output of the tool call. |
| ServerLabel |
The label of the server that provides the tool. |