File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
apps/sim/executor/handlers/agent Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -236,14 +236,14 @@ export class AgentBlockHandler implements BlockHandler {
236236 } )
237237
238238 const mcpTools : ToolInput [ ] = [ ]
239- const mcpServers : ToolInput [ ] = [ ]
239+ const mcpServerSelections : ToolInput [ ] = [ ]
240240 const otherTools : ToolInput [ ] = [ ]
241241
242242 for ( const tool of filtered ) {
243243 if ( tool . type === 'mcp' ) {
244244 mcpTools . push ( tool )
245245 } else if ( tool . type === 'mcp-server' ) {
246- mcpServers . push ( tool )
246+ mcpServerSelections . push ( tool )
247247 } else {
248248 otherTools . push ( tool )
249249 }
@@ -268,8 +268,8 @@ export class AgentBlockHandler implements BlockHandler {
268268
269269 const mcpResults = await this . processMcpToolsBatched ( ctx , mcpTools )
270270
271- // Process MCP servers (all tools from server mode)
272- const mcpServerResults = await this . processMcpServerSelections ( ctx , mcpServers )
271+ // Process MCP server selections (all tools from server mode)
272+ const mcpServerResults = await this . processMcpServerSelections ( ctx , mcpServerSelections )
273273
274274 const allTools = [ ...otherResults , ...mcpResults , ...mcpServerResults ]
275275 return allTools . filter (
You can’t perform that action at this time.
0 commit comments