IntelligenceX
Class

ToolDefinition

Namespace IntelligenceX.OpenAI.Tools
Assembly IntelligenceX
Modifiers sealed

Defines a tool that can be invoked by the model.

Inheritance

  • Object
  • ToolDefinition

Constructors

public ToolDefinition(String name, String description = null, JsonObject parameters = null) #

Initializes a new tool definition.

Parameters

name System.String
Tool name.
description System.String = null
Tool description.
parameters IntelligenceX.Json.JsonObject = null
JSON schema for tool parameters.

Properties

public String Name { get; } #

Gets the tool name.

public String Description { get; } #

Gets the tool description.

public JsonObject Parameters { get; } #

Gets the JSON schema for tool parameters.