AbstractAbstractcleanupClean up resources used by the executor. Should be called when the executor is no longer needed.
Create a search function for discovering available MCP tools. Used by code execution environments to find tools at runtime.
AbstractexecuteExecute code with access to MCP tools.
The code to execute
Optionaltimeout: number
Execution timeout in milliseconds
Abstract base class for code executors. Provides shared functionality for connecting to MCP servers and building tool contexts.