Share via


MCPToolAllowedTools1 Class

Definition

The MCPToolAllowedTools1.

public class MCPToolAllowedTools1 : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.MCPToolAllowedTools1>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.MCPToolAllowedTools1>
type MCPToolAllowedTools1 = class
    interface IUtf8JsonSerializable
    interface IJsonModel<MCPToolAllowedTools1>
    interface IPersistableModel<MCPToolAllowedTools1>
Public Class MCPToolAllowedTools1
Implements IJsonModel(Of MCPToolAllowedTools1), IPersistableModel(Of MCPToolAllowedTools1), IUtf8JsonSerializable
Inheritance
MCPToolAllowedTools1
Implements

Constructors

Name Description
MCPToolAllowedTools1()

Initializes a new instance of MCPToolAllowedTools1.

MCPToolAllowedTools1(IList<String>, IDictionary<String,BinaryData>)

Initializes a new instance of MCPToolAllowedTools1.

Properties

Name Description
ToolNames

List of allowed tool names.

Methods

Name Description
DeserializeMCPToolAllowedTools1(JsonElement, ModelReaderWriterOptions)
FromResponse(Response)

Deserializes the model from a raw response.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
ToRequestContent()

Convert into a RequestContent.

Explicit Interface Implementations

Name Description
IJsonModel<MCPToolAllowedTools1>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MCPToolAllowedTools1>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MCPToolAllowedTools1>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MCPToolAllowedTools1>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MCPToolAllowedTools1>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to