Search Results for

    Show / Hide Table of Contents

    Class CustomTool

    A custom tool that processes input using a specified format.

    Inheritance
    object
    Tool
    CustomTool
    Implements
    IHasName
    Inherited Members
    Tool.Type
    Tool.TryGetToolName(out string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public sealed class CustomTool : Tool, IHasName

    Properties

    | Edit this page View Source

    Description

    Optional. Optional description of the custom tool.

    Declaration
    [JsonProperty("description")]
    public string Description { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Format

    Optional. The input format for the custom tool. Default is unconstrained text.

    Declaration
    [JsonProperty("format")]
    public CustomToolFormat Format { get; set; }
    Property Value
    Type Description
    CustomToolFormat
    | Edit this page View Source

    Name

    Required. The name of the custom tool.

    Declaration
    [JsonProperty("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Implements

    IHasName

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation