Skip to content

Commit 78ca98d

Browse files
committed
fix: code review improvements
1 parent 2b6314b commit 78ca98d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/actor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export type CallActorGetDatasetResult = {
4747
*
4848
* @param {string} actorName - The name of the actor to call.
4949
* @param {ActorCallOptions} callOptions - The options to pass to the actor.
50-
* @param {ActorInput} simplifiedInput - The input to pass to the actor.
50+
* @param {Record<string, unknown>} simplifiedInput - The input to pass to the actor.
5151
* @param {string} apifyToken - The Apify token to use for authentication.
5252
* @param {ProgressTracker} progressTracker - Optional progress tracker for real-time updates.
5353
* @returns {Promise<{ actorRun: any, items: object[] }>} - A promise that resolves to an object containing the actor run and dataset items.
@@ -123,6 +123,7 @@ export async function callActorGetDataset(
123123
* 5. Enums are added to descriptions with examples using addEnumsToDescriptionsWithExamples()
124124
*
125125
* @param {ActorInfo[]} actorsInfo - An array of ActorInfo objects with webServerMcpPath and actorDefinitionPruned.
126+
* @param {boolean} fullActorSchema - If true, the full Actor input schema is exposed.
126127
* @returns {Promise<ToolEntry[]>} - A promise that resolves to an array of MCP tools.
127128
*/
128129
export async function getNormalActorsAsTools(

0 commit comments

Comments
 (0)