Skip to content

Commit 62a767e

Browse files
committed
fix: jsdoc
1 parent 85d1011 commit 62a767e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/mcp/utils.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ export function getProxyMCPServerToolName(url: string, toolName: string): string
3939
/**
4040
* Process input parameters from URL and get tools
4141
* If URL contains query parameter `actors`, return tools from Actors otherwise return null.
42-
* @param url
43-
* @param apifyToken
42+
* @param url The URL to process
43+
* @param apifyClient The Apify client instance
44+
* @param initializeRequestData Optional initialize request data
4445
*/
4546
export async function processParamsGetTools(url: string, apifyClient: ApifyClient, initializeRequestData?: InitializeRequest) {
4647
const input = parseInputParamsFromUrl(url);

src/tools/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import { filterSchemaProperties, shortenProperties } from './utils.js';
1919
* First, fetch the Actor details to get the default build tag and buildId.
2020
* Then, fetch the build details and return actorName, description, and input schema.
2121
* @param {string} actorIdOrName - Actor ID or Actor full name.
22+
* @param {ApifyClient} apifyClient - The Apify client instance.
2223
* @param {number} limit - Truncate the README to this limit.
23-
* @param {string} apifyToken
2424
* @returns {Promise<ActorDefinitionWithDesc | null>} - The actor definition with description or null if not found.
2525
*/
2626
export async function getActorDefinition(

src/utils/tools-loader.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ function getInternalToolByNameMap(): Map<string, ToolEntry> {
3434
* This function is used by both the stdio.ts and the processParamsGetTools function.
3535
*
3636
* @param input The processed Input object
37-
* @param apifyToken The Apify API token
37+
* @param apifyClient The Apify client instance
38+
* @param _initializeRequestData Optional initialize request data
3839
* @returns An array of tool entries
3940
*/
4041
export async function loadToolsFromInput(

0 commit comments

Comments
 (0)