@tpmjs/tools-unsandbox
Create a long-running service with custom subdomain. Services persist until explicitly destroyed and can auto-unfreeze on HTTP requests.
Test @tpmjs/tools-unsandbox (createService) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-unsandboxpnpm add @tpmjs/tools-unsandboxyarn add @tpmjs/tools-unsandboxbun add @tpmjs/tools-unsandboxdeno add npm:@tpmjs/tools-unsandboximport { createService } from '@tpmjs/tools-unsandbox';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { createService } from '@tpmjs/tools-unsandbox';
const result = await generateText({
model: openai('gpt-4o'),
tools: { createService },
prompt: 'Your prompt here...',
});
console.log(result.text);Available configuration options
namestringService name (becomes NAME.on.unsandbox.com)
bootstrapstringBootstrap script content or URL
bootstrap_contentstringBootstrap script content (alternative to bootstrap)
portsarrayPorts to expose
network_modestringNetwork isolation mode. Default: 'semitrusted'
custom_domainsarrayCustom domain names
input_filesarrayInput files to make available
Schema extracted: 1/17/2026, 12:57:48 AM
ERROR: No README data found!
Downloads/month
0
Quality Score