@tpmjs/tools-hllm
Update an existing prompt.
Test @tpmjs/tools-hllm (updatePrompt) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-hllmpnpm add @tpmjs/tools-hllmyarn add @tpmjs/tools-hllmbun add @tpmjs/tools-hllmdeno add npm:@tpmjs/tools-hllmimport { updatePrompt } from '@tpmjs/tools-hllm';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { updatePrompt } from '@tpmjs/tools-hllm';
const result = await generateText({
model: openai('gpt-4o'),
tools: { updatePrompt },
prompt: 'Your prompt here...',
});
console.log(result.text);(promptId: string, name?: string, tags?: string[], content?: string, category?: string, description?: string) => Promise<unknown>Available configuration options
promptIdstringThe prompt ID.
namestringNew name for the prompt.
contentstringNew content for the prompt.
descriptionstringNew description.
categorystringNew category.
tagsarrayNew tags.
Schema extracted: 3/3/2026, 4:21:22 AM
ERROR: No README data found!
Downloads/month
167
GitHub Stars
0
Quality Score