Share via


SessionResponseMcpApprovalRequestItem Class

Definition

A response item that represents a request for approval to call an MCP tool.

public class SessionResponseMcpApprovalRequestItem : Azure.AI.VoiceLive.SessionResponseItem, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.SessionResponseMcpApprovalRequestItem>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.SessionResponseMcpApprovalRequestItem>
type SessionResponseMcpApprovalRequestItem = class
    inherit SessionResponseItem
    interface IJsonModel<SessionResponseMcpApprovalRequestItem>
    interface IPersistableModel<SessionResponseMcpApprovalRequestItem>
Public Class SessionResponseMcpApprovalRequestItem
Inherits SessionResponseItem
Implements IJsonModel(Of SessionResponseMcpApprovalRequestItem), IPersistableModel(Of SessionResponseMcpApprovalRequestItem)
Inheritance
SessionResponseMcpApprovalRequestItem
Implements

Properties

Name Description
Arguments

The arguments for the tool call.

Id

Gets the Id.

(Inherited from SessionResponseItem)
Name

The name of the tool to call.

ServerLabel

The label of the server that provides the tool.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<SessionResponseItem>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from SessionResponseItem)
IJsonModel<SessionResponseItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from SessionResponseItem)
IJsonModel<SessionResponseMcpApprovalRequestItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<SessionResponseMcpApprovalRequestItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<SessionResponseItem>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from SessionResponseItem)
IPersistableModel<SessionResponseItem>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from SessionResponseItem)
IPersistableModel<SessionResponseItem>.Write(ModelReaderWriterOptions) (Inherited from SessionResponseItem)
IPersistableModel<SessionResponseMcpApprovalRequestItem>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<SessionResponseMcpApprovalRequestItem>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<SessionResponseMcpApprovalRequestItem>.Write(ModelReaderWriterOptions)

Applies to