@tpmjs/tools-unsandbox
Grant access to a private/unlisted image for a specific API key. The granted user can use the image to spawn services.
Test @tpmjs/tools-unsandbox (grantImageAccess) 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 { grantImageAccess } from '@tpmjs/tools-unsandbox';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { grantImageAccess } from '@tpmjs/tools-unsandbox';
const result = await generateText({
model: openai('gpt-4o'),
tools: { grantImageAccess },
prompt: 'Your prompt here...',
});
console.log(result.text);Available configuration options
image_idstringThe image ID
api_keystringAPI key to grant access to
Schema extracted: 1/17/2026, 12:57:55 AM
ERROR: No README data found!
Downloads/month
0
Quality Score