Skip to main content

Overview

The TypeScriptExecutorProxy intercepts the fetch API and routes calls to isolated environments. Code runs in-process using Node.js.

Basic Usage

Creating Framework Tools

Vercel AI SDK

Supported APIs

The TypeScript executor intercepts:
  • fetch: Global fetch API
  • node-fetch: (If imported)

Execution Result

Error Handling

Example: Slack API Calls

Example: Linear GraphQL

Configuration Options

Async/Await Support

The TypeScript executor fully supports async/await:

Next Steps

Python Executor

Execute Python code

Bash Executor

Execute shell commands