Home/Tools/@tpmjs/tools-sprites-url-set

spritesUrlSetTool

@tpmjs/tools-sprites-url-set

Set the access settings for a sprite URL. Use 'public' to allow anyone to access the sprite URL, or 'sprite' to require authentication.

Official
sandbox
v0.1.1
MIT
⚠️

This tool is currently broken

Execution Failed
Runtime error with test parameters
Auth must be 'sprite' or 'public'

Last checked: 3/2/2026, 4:20:26 AM

Interactive Playground

Test @tpmjs/tools-sprites-url-set (spritesUrlSetTool) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/tools-sprites-url-set
pnpm add @tpmjs/tools-sprites-url-set
yarn add @tpmjs/tools-sprites-url-set
bun add @tpmjs/tools-sprites-url-set
deno add npm:@tpmjs/tools-sprites-url-set

2. Import the tool

import { spritesUrlSetTool } from '@tpmjs/tools-sprites-url-set';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { spritesUrlSetTool } from '@tpmjs/tools-sprites-url-set';

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { spritesUrlSetTool },
  prompt: 'Your prompt here...',
});

console.log(result.text);

Signature

(auth: string, name: string) => Promise<unknown>

Tags

access
ai
allow
anyone
code-execution
public
sandbox
settings
sprite
sprites
tpmjs
url

Parameters

Available configuration options

Auto-extracted
name
Required
Type: string

Name of the sprite to update

auth
Required
Type: string

Access mode - 'public' for public access, 'sprite' for authenticated access only

Schema extracted: 3/2/2026, 4:20:26 AM

README

ERROR: No README data found!

Statistics

Downloads/month

16

GitHub Stars

0

Quality Score

75%

Bundle Size

NPM Keywords

tpmjs
sprites
sandbox
code-execution
ai

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai