@tpmjs/tools-unsandbox
Create a snapshot from an existing session or service.
Test @tpmjs/tools-unsandbox (createSnapshot) 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 { createSnapshot } from '@tpmjs/tools-unsandbox';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { createSnapshot } from '@tpmjs/tools-unsandbox';
const result = await generateText({
model: openai('gpt-4o'),
tools: { createSnapshot },
prompt: 'Your prompt here...',
});
console.log(result.text);Available configuration options
source_typestringType of source to snapshot
source_idstringID of the session or service
namestringOptional snapshot name
hotbooleanCreate hot snapshot without stopping container
ttlnumberAuto-delete after N seconds
Schema extracted: 1/17/2026, 12:57:52 AM
ERROR: No README data found!
Downloads/month
0
Quality Score