tpmjs/packages/tools/official/e2b/block.ts
Ajax Davis ffc5807ba0 feat: add E2B sandbox tools and update documentation navigation
- Add new e2b tool package for cloud sandbox code execution
- Update docs navigation with descriptions and developers guide section
- Configure blocks.yml for e2b tool discovery
2026-01-20 08:05:19 +10:00

53 lines
883 B
TypeScript

/**
* Block metadata for E2B tools
* This file provides metadata for the blocks validator
*/
import {
createSandbox,
downloadFile,
getMetrics,
getSandbox,
installPackages,
killSandbox,
listFiles,
listSandboxes,
makeDirectory,
pauseSandbox,
readFile,
resumeSandbox,
runCode,
runCommand,
setEnvVars,
setTimeout,
uploadFile,
watchDirectory,
writeFile,
} from './src/index.js';
export const block = {
name: 'e2b',
description: 'E2B cloud sandbox tools for AI code execution',
tools: {
createSandbox,
getSandbox,
listSandboxes,
killSandbox,
setTimeout,
runCode,
runCommand,
writeFile,
readFile,
listFiles,
uploadFile,
downloadFile,
makeDirectory,
watchDirectory,
pauseSandbox,
resumeSandbox,
setEnvVars,
getMetrics,
installPackages,
},
};
export default block;