Search Results for

    Show / Hide Table of Contents

    Class ToolDescriptorBase

    Shared base class for descriptors that map AI tool/function calls to MonoBehaviour methods. Holds serialized metadata and the runtime execution cache.

    Inheritance
    object
    ToolDescriptorBase
    CustomToolDescriptor
    FunctionDescriptor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Agents
    Assembly: Glitch9.AIDevKit.Agent.dll
    Syntax
    [Serializable]
    public abstract class ToolDescriptorBase

    Fields

    | Edit this page View Source

    CachedMethod

    Declaration
    [NonSerialized]
    public MethodInfo CachedMethod
    Field Value
    Type Description
    MethodInfo
    | Edit this page View Source

    CachedParams

    Declaration
    [NonSerialized]
    public ParameterInfo[] CachedParams
    Field Value
    Type Description
    ParameterInfo[]
    | Edit this page View Source

    CompiledDelegate

    Declaration
    [NonSerialized]
    public Delegate CompiledDelegate
    Field Value
    Type Description
    Delegate
    | Edit this page View Source

    description

    Declaration
    [SerializeField]
    protected string description
    Field Value
    Type Description
    string
    | Edit this page View Source

    methodName

    Declaration
    [SerializeField]
    protected string methodName
    Field Value
    Type Description
    string
    | Edit this page View Source

    parameters

    Declaration
    [SerializeReference]
    protected List<JsonSchemaProperty> parameters
    Field Value
    Type Description
    List<JsonSchemaProperty>
    | Edit this page View Source

    target

    Declaration
    [SerializeField]
    protected MonoBehaviour target
    Field Value
    Type Description
    MonoBehaviour

    Properties

    | Edit this page View Source

    Description

    Optional description exposed to the model or editor UI.

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    MethodName

    The method name to invoke on the target MonoBehaviour.

    Declaration
    public string MethodName { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Parameters

    Optional parameter metadata (for editor UI and schema generation).

    Declaration
    public List<JsonSchemaProperty> Parameters { get; }
    Property Value
    Type Description
    List<JsonSchemaProperty>
    | Edit this page View Source

    Target

    The MonoBehaviour instance on which the method will be invoked.

    Declaration
    public MonoBehaviour Target { get; }
    Property Value
    Type Description
    MonoBehaviour

    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