@tpmjs/tools-sprites-delete
Delete a sprite and all its associated data including checkpoints. This action is irreversible.
Test @tpmjs/tools-sprites-delete (spritesDeleteTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-sprites-deletepnpm add @tpmjs/tools-sprites-deleteyarn add @tpmjs/tools-sprites-deletebun add @tpmjs/tools-sprites-deletedeno add npm:@tpmjs/tools-sprites-deleteimport { spritesDeleteTool } from '@tpmjs/tools-sprites-delete';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { spritesDeleteTool } from '@tpmjs/tools-sprites-delete';
const result = await generateText({
model: openai('gpt-4o'),
tools: { spritesDeleteTool },
prompt: 'Your prompt here...',
});
console.log(result.text);Available configuration options
namestringName of the sprite to delete
Schema extracted: 1/16/2026, 3:45:34 AM
Delete a sprite and all its associated data including checkpoints.
npm install @tpmjs/sprites-delete
SPRITES_TOKEN environment variable - Get your token from https://sprites.devimport { spritesDeleteTool } from '@tpmjs/sprites-delete'; const result = await spritesDeleteTool.execute({ name: 'my-sandbox' }); console.log(result); // { // deleted: true, // name: 'my-sandbox' // }
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the sprite to delete |
| Field | Type | Description |
|---|---|---|
deleted | boolean | Whether deletion was successful |
name | string | Name of the deleted sprite |
This action is irreversible. All data associated with the sprite, including:
will be permanently deleted.
The tool throws errors in these cases:
SPRITES_TOKEN environment variable is not setMIT
Downloads/month
221
GitHub Stars
0
Quality Score