@apify/actors-mcp-server
Version:
Model Context Protocol Server for Apify
16 lines • 713 B
TypeScript
/**
* Shared logic for loading tools based on Input type.
* This eliminates duplication between stdio.ts and processParamsGetTools.
*/
import type { Input, ToolEntry } from '../types.js';
/**
* Load tools based on the provided Input object.
* This function is used by both the stdio.ts and the processParamsGetTools function.
*
* @param input The processed Input object
* @param apifyToken The Apify API token
* @param useDefaultActors Whether to use default actors if no actors are specified
* @returns An array of tool entries
*/
export declare function loadToolsFromInput(input: Input, apifyToken: string, useDefaultActors?: boolean): Promise<ToolEntry[]>;
//# sourceMappingURL=tools-loader.d.ts.map