IntelligenceX

API Reference

Class

McpToolInfo

Namespace IntelligenceX.OpenAI.AppServer.Models
Assembly IntelligenceX
Modifiers sealed

Describes an MCP tool.

Inheritance

  • Object
  • McpToolInfo

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

public McpToolInfo(String name, String title, String description, JsonObject inputSchema, JsonObject outputSchema, JsonObject annotations, JsonObject meta, JsonObject raw, JsonObject additional) #

Initializes a new MCP tool info.

Parameters

name System.String requiredposition: 0
title System.String requiredposition: 1
description System.String requiredposition: 2
inputSchema IntelligenceX.Json.JsonObject requiredposition: 3
outputSchema IntelligenceX.Json.JsonObject requiredposition: 4
annotations IntelligenceX.Json.JsonObject requiredposition: 5
meta IntelligenceX.Json.JsonObject requiredposition: 6
raw IntelligenceX.Json.JsonObject requiredposition: 7
additional IntelligenceX.Json.JsonObject requiredposition: 8

Methods

public static McpToolInfo FromJson(JsonObject obj, String fallbackName = null) #
Returns: McpToolInfo

Parses tool info from JSON.

Parameters

obj IntelligenceX.Json.JsonObject requiredposition: 0
Source JSON object.
fallbackName System.String = null optionalposition: 1
Fallback tool name.

Returns

The parsed tool info.

Properties

public String Name { get; } #

Gets the tool name.

public String Title { get; } #

Gets the optional tool title.

public String Description { get; } #

Gets the optional tool description.

public JsonObject InputSchema { get; } #

Gets the input schema (when provided by the server).

public JsonObject OutputSchema { get; } #

Gets the output schema (when provided by the server).

public JsonObject Annotations { get; } #

Gets tool annotations.

public JsonObject Meta { get; } #

Gets tool metadata.

public JsonObject Raw { get; } #

Gets the raw JSON object.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload.