Class MCPListTools
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
Id
The unique ID of this response item.
[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("id")]
public string Id { get; }
Property Value
Object
[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("object")]
public string Object { get; }
Property Value
ServerLabel
The label of the MCP server running the tool.
[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("server_label")]
public string ServerLabel { get; }
Property Value
Status
The status of the response item.
[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
[JsonPropertyName("status")]
public ResponseStatus Status { get; }
Property Value
Tools
The tools available on the server.
[JsonInclude]
[JsonPropertyName("tools")]
public IReadOnlyList<MCPServerTool> Tools { get; }
Property Value
Type
[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("type")]
public ResponseItemType Type { get; }