@tpmjs/tools-unsandbox
Publish a snapshot as a reusable image for spawning new sessions or services.
Test @tpmjs/tools-unsandbox (publishImage) 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 { publishImage } from '@tpmjs/tools-unsandbox';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { publishImage } from '@tpmjs/tools-unsandbox';
const result = await generateText({
model: openai('gpt-4o'),
tools: { publishImage },
prompt: 'Your prompt here...',
});
console.log(result.text);(source_id: string, source_type: string, name?: string, description?: string) => Promise<unknown>Available configuration options
source_typestringType of source to publish from
source_idstringID of the service or snapshot
namestringUser-friendly name for the image
descriptionstringOptional description
Schema extracted: 3/3/2026, 4:21:13 AM
ERROR: No README data found!
Downloads/month
560
GitHub Stars
0
Quality Score