Member Junction
    Preparing search index...

    Class BaseArtifactToolLibraryAbstract

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Subclass-specific tools (everything other than get_full).

      Default returns an empty list so external consumers (e.g. Skip-Brain) whose subclasses still override the public GetToolList() directly continue to compile without changes — their override of GetToolList() replaces this whole chain. New subclasses should prefer overriding this method so they pick up the base-class get_full for free.

      Returns ArtifactToolDefinition[]

    • Subclass tool dispatcher — invoked for every tool except get_full.

      Default returns an "unknown tool" error. Same backwards-compat note as getSubclassToolList(): external subclasses that override the public InvokeTool() directly continue to work unchanged.

      Parameters

      • toolName: string
      • _input: Record<string, unknown>
      • _artifactContent: string | Buffer

      Returns Promise<ArtifactToolResult>

    • Dispatches a tool invocation. Handles get_full directly; delegates everything else to the subclass. Final: subclasses should override invokeSubclassTool() rather than this method.

      Parameters

      • toolName: string
      • input: Record<string, unknown>
      • artifactContent: string | Buffer

      Returns Promise<ArtifactToolResult>