IntelligenceX

API Reference

Interface

ITool

Namespace IntelligenceX.Tools
Assembly IntelligenceX
Modifiers abstract

Represents a tool that can be called by the model.

Usage

Explore 2 API references to this type

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

Accepted by parameters 2

Methods

public abstract Task<String> InvokeAsync(JsonObject? arguments, CancellationToken cancellationToken) #
Returns: Task<String>

Executes the tool with the provided arguments.

Parameters

arguments IntelligenceX.Json.JsonObject? requiredposition: 0
Parsed tool arguments (may be null).
cancellationToken System.Threading.CancellationToken requiredposition: 1
Cancellation token.

Returns

Tool output text.

Properties

public abstract ToolDefinition Definition { get; } #

Tool definition metadata.