Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

505 B
Raw Blame
import type { LobeToolManifest } from './types';

/**
 * Interface for loading tool manifests on demand.
 *
 * Used when step-level tool activations reference tools not present in
 * the operation-level manifest map. Implementations can fetch manifests
 * from databases, market services, or other sources.
 */
export interface ManifestLoader {
  loadManifest: (toolId: string) => Promise<LobeToolManifest | undefined>;
  loadManifests: (toolIds: string[]) => Promise<Record<string, LobeToolManifest>>;
}