@tpmjs/tools-sprites-checkpoint-list
List all checkpoints for a sprite ordered by creation time. Use this to find checkpoint IDs for restoration.
Test @tpmjs/tools-sprites-checkpoint-list (spritesCheckpointListTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-sprites-checkpoint-listpnpm add @tpmjs/tools-sprites-checkpoint-listyarn add @tpmjs/tools-sprites-checkpoint-listbun add @tpmjs/tools-sprites-checkpoint-listdeno add npm:@tpmjs/tools-sprites-checkpoint-listimport { spritesCheckpointListTool } from '@tpmjs/tools-sprites-checkpoint-list';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { spritesCheckpointListTool } from '@tpmjs/tools-sprites-checkpoint-list';
const result = await generateText({
model: openai('gpt-4o'),
tools: { spritesCheckpointListTool },
prompt: 'Your prompt here...',
});
console.log(result.text);Available configuration options
namestringName of the sprite to list checkpoints for
Schema extracted: 1/16/2026, 3:45:35 AM
List all checkpoints for a sprite ordered by creation time.
npm install @tpmjs/sprites-checkpoint-list
SPRITES_TOKEN environment variable - Get your token from https://sprites.devimport { spritesCheckpointListTool } from '@tpmjs/sprites-checkpoint-list'; const result = await spritesCheckpointListTool.execute({ name: 'my-sandbox' }); console.log(result); // { // checkpoints: [ // { id: 'chk_abc123', name: 'before-experiment', createdAt: '2024-01-15T10:30:00Z', size: 52428800 }, // { id: 'chk_def456', name: 'initial-setup', createdAt: '2024-01-14T08:00:00Z', size: 10485760 } // ], // count: 2 // }
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the sprite to list checkpoints for |
| Field | Type | Description |
|---|---|---|
checkpoints | Checkpoint[] | Array of checkpoints ordered by creation time |
count | number | Total number of checkpoints |
| Field | Type | Description |
|---|---|---|
id | string | Unique checkpoint identifier (use this for restore) |
name | string? | Optional human-readable name |
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
232
GitHub Stars
0
Quality Score