ItemMcpApprovalRequest Class

Definition

MCP approval request.

public class ItemMcpApprovalRequest : Azure.AI.AgentServer.Responses.Models.Item, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.ItemMcpApprovalRequest>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.ItemMcpApprovalRequest>
type ItemMcpApprovalRequest = class
    inherit Item
    interface IJsonModel<ItemMcpApprovalRequest>
    interface IPersistableModel<ItemMcpApprovalRequest>
Public Class ItemMcpApprovalRequest
Inherits Item
Implements IJsonModel(Of ItemMcpApprovalRequest), IPersistableModel(Of ItemMcpApprovalRequest)
Inheritance
ItemMcpApprovalRequest
Implements

Constructors

Name Description
ItemMcpApprovalRequest(String, String, String, String)

Initializes a new instance of ItemMcpApprovalRequest.

Properties

Name Description
Arguments

A JSON string of arguments for the tool.

Id

The unique ID of the approval request.

Name

The name of the tool to run.

ServerLabel

The label of the MCP server making the request.

Methods

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

Explicit Interface Implementations

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

Applies to