Member Junction
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Default get_full implementation. Override to transform raw bytes into a domain-meaningful representation (e.g. extracted text from a PDF).

      Parameters

      • artifactContent: string | Buffer

      Returns Promise<ArtifactToolResult>

    • 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>