File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import type { ApifyClient } from 'apify';
99
1010import log from '@apify/log' ;
1111
12- import { defaults } from '../const.js' ;
12+ import { defaults , HelperTools } from '../const.js' ;
1313import { callActor } from '../tools/actor.js' ;
1414import { getActorOutput } from '../tools/get-actor-output.js' ;
1515import { addTool } from '../tools/helpers.js' ;
@@ -75,7 +75,7 @@ export async function loadToolsFromInput(
7575 // Handler client capabilities logic for 'actors' category to swap call-actor for add-actor
7676 // if client supports dynamic tools.
7777 if ( selector === 'actors' && doesMcpClientSupportDynamicTools ( initializeRequestData ) ) {
78- internalSelections . push ( ...categoryTools . filter ( ( t ) => t . tool . name !== 'call-actor' ) ) ;
78+ internalSelections . push ( ...categoryTools . filter ( ( t ) => t . tool . name !== HelperTools . ACTOR_CALL ) ) ;
7979 internalSelections . push ( addTool ) ;
8080 continue ;
8181 }
You can’t perform that action at this time.
0 commit comments