@tpmjs/tools-sprites-checkpoint-create
Create a point-in-time snapshot (checkpoint) of a sprite's filesystem state for later restoration. Useful for saving state before risky operations.
HTTP 502
Last checked: 1/16/2026, 3:45:32 AM
Test @tpmjs/tools-sprites-checkpoint-create (spritesCheckpointCreateTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-sprites-checkpoint-createpnpm add @tpmjs/tools-sprites-checkpoint-createyarn add @tpmjs/tools-sprites-checkpoint-createbun add @tpmjs/tools-sprites-checkpoint-createdeno add npm:@tpmjs/tools-sprites-checkpoint-createimport { spritesCheckpointCreateTool } from '@tpmjs/tools-sprites-checkpoint-create';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { spritesCheckpointCreateTool } from '@tpmjs/tools-sprites-checkpoint-create';
const result = await generateText({
model: openai('gpt-4o'),
tools: { spritesCheckpointCreateTool },
prompt: 'Your prompt here...',
});
console.log(result.text);Available configuration options
namestringName of the sprite to checkpoint
checkpointNamestringOptional human-readable name for the checkpoint
Schema extracted: 1/16/2026, 3:45:31 AM
Create a point-in-time snapshot (checkpoint) of a sprite's filesystem state for later restoration.
npm install @tpmjs/sprites-checkpoint-create
SPRITES_TOKEN environment variable - Get your token from https://sprites.devimport { spritesCheckpointCreateTool } from '@tpmjs/sprites-checkpoint-create'; const result = await spritesCheckpointCreateTool.execute({ name: 'my-sandbox', checkpointName: 'before-experiment' }); console.log(result); // { // id: 'chk_abc123', // name: 'before-experiment', // createdAt: '2024-01-15T10:30:00Z', // size: 52428800 // }
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the sprite to checkpoint |
checkpointName | string | No | Optional human-readable name for the checkpoint |
| Field | Type | Description |
|---|---|---|
id | string | Unique checkpoint identifier (use this for restore) |
name | string? | Human-readable checkpoint name if provided |
createdAt | string | ISO 8601 timestamp of creation |
size | number? | Checkpoint size in bytes |
The tool throws errors in these cases:
SPRITES_TOKEN environment variable is not setMIT
Downloads/month
391
GitHub Stars
0
Quality Score