@apify/actors-mcp-server
Version:
Model Context Protocol Server for Apify
16 lines • 839 B
TypeScript
import type { ActorDefinitionPruned, ToolEntry } from '../types.js';
/**
* Get Actor input schema by Actor name.
* First, fetch the Actor details to get the default build tag and buildId.
* Then, fetch the build details and return actorName, description, and input schema.
* @param {string} actorIdOrName - Actor ID or Actor full name.
* @param {number} limit - Truncate the README to this limit.
* @param {string} apifyToken
* @returns {Promise<ActorDefinitionWithDesc | null>} - The actor definition with description or null if not found.
*/
export declare function getActorDefinition(actorIdOrName: string, apifyToken: string, limit?: number): Promise<ActorDefinitionPruned | null>;
/**
* https://docs.apify.com/api/v2/actor-build-get
*/
export declare const actorDefinitionTool: ToolEntry;
//# sourceMappingURL=build.d.ts.map