@tpmjs/tools-unsandbox
Get the status and results of an async code execution job by job_id.
Test @tpmjs/tools-unsandbox (getJob) 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 { getJob } from '@tpmjs/tools-unsandbox';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { getJob } from '@tpmjs/tools-unsandbox';
const result = await generateText({
model: openai('gpt-4o'),
tools: { getJob },
prompt: 'Your prompt here...',
});
console.log(result.text);(job_id: string) => Promise<unknown>Available configuration options
job_idstringThe job ID returned from executeCodeAsync
Schema extracted: 3/2/2026, 4:20:26 AM
ERROR: No README data found!
Downloads/month
560
GitHub Stars
0
Quality Score