MCPListToolsItemResource 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 list of tools available on an MCP server.
public class MCPListToolsItemResource : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemResource, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.MCPListToolsItemResource>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.MCPListToolsItemResource>
type MCPListToolsItemResource = class
inherit ItemResource
interface IUtf8JsonSerializable
interface IJsonModel<MCPListToolsItemResource>
interface IPersistableModel<MCPListToolsItemResource>
Public Class MCPListToolsItemResource
Inherits ItemResource
Implements IJsonModel(Of MCPListToolsItemResource), IPersistableModel(Of MCPListToolsItemResource)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| MCPListToolsItemResource() |
Initializes a new instance of MCPListToolsItemResource for deserialization. |
| MCPListToolsItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, String, IReadOnlyList<MCPListToolsTool>, String) |
Initializes a new instance of MCPListToolsItemResource. |
| MCPListToolsItemResource(String, String, IEnumerable<MCPListToolsTool>) |
Initializes a new instance of MCPListToolsItemResource. |
Properties
| Name | Description |
|---|---|
| CreatedBy |
The information about the creator of the item. (Inherited from ItemResource) |
| Error |
Error message if the server could not list tools. |
| Id |
Gets the id. (Inherited from ItemResource) |
| ServerLabel |
The label of the MCP server. |
| Tools |
The tools available on the server. |
| Type |
Gets or sets the type. (Inherited from ItemResource) |
Methods
| Name | Description |
|---|---|
| DeserializeMCPListToolsItemResource(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |