Share via


AITool Class

Definition

Represents a tool that can be specified to an AI service.

public ref class AITool abstract
public abstract class AITool
type AITool = class
Public MustInherit Class AITool
Inheritance
AITool
Derived

Constructors

Name Description
AITool()

Initializes a new instance of the AITool class.

Properties

Name Description
AdditionalProperties

Gets any additional properties associated with the tool.

Description

Gets a description of the tool, suitable for use in describing the purpose to a model.

Name

Gets the name of the tool.

Methods

Name Description
GetService(Type, Object)

Asks the AITool for an object of the specified type serviceType.

GetService<TService>(Object)

Asks the AITool for an object of type TService.

ToString()

Returns a string that represents the current object.

Extension Methods

Name Description
AsOpenAIResponseTool(AITool)

Creates an OpenAI ResponseTool from an AITool.

Applies to