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