Table of Contents

Class MCPListTools

Namespace
OpenAI.Responses
Assembly
OpenAI-DotNet.dll
public sealed class MCPListTools : BaseResponse, IResponseItem, IServerSentEvent, IListItem
Inheritance
MCPListTools
Implements
Inherited Members

Properties

Error

The error from the tool call, if any.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("error")]
public string Error { get; }

Property Value

string

Id

The unique ID of this response item.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("id")]
public string Id { get; }

Property Value

string

Object

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("object")]
public string Object { get; }

Property Value

string

ServerLabel

The label of the MCP server running the tool.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("server_label")]
public string ServerLabel { get; }

Property Value

string

Status

The status of the response item.

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("status")]
public ResponseStatus Status { get; }

Property Value

ResponseStatus

Tools

The tools available on the server.

[JsonInclude]
[JsonPropertyName("tools")]
public IReadOnlyList<MCPServerTool> Tools { get; }

Property Value

IReadOnlyList<MCPServerTool>

Type

[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("type")]
public ResponseItemType Type { get; }

Property Value

ResponseItemType