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

spritesUrlGetTool

@tpmjs/tools-sprites-url-get

Get the public URL and access settings for a sprite. Returns the URL that can be used to access web servers running on port 8080 in the sprite.

Official
sandbox
v0.1.1
MIT

Interactive Playground

Test @tpmjs/tools-sprites-url-get (spritesUrlGetTool) 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-get
pnpm add @tpmjs/tools-sprites-url-get
yarn add @tpmjs/tools-sprites-url-get
bun add @tpmjs/tools-sprites-url-get
deno add npm:@tpmjs/tools-sprites-url-get

2. Import the tool

import { spritesUrlGetTool } from '@tpmjs/tools-sprites-url-get';

3. Use with AI SDK

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

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

console.log(result.text);

Signature

(name: string) => Promise<unknown>

Tags

access
ai
code-execution
public
running
sandbox
servers
settings
sprite
sprites
tpmjs
url
web

Parameters

Available configuration options

Auto-extracted
name
Required
Type: string

Name of the sprite to get URL for

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

README

ERROR: No README data found!

Statistics

Downloads/month

17

GitHub Stars

0

Quality Score

75%

Bundle Size

NPM Keywords

tpmjs
sprites
sandbox
code-execution
ai

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai