@tpmjs/tools-hllm
Improve an existing prompt using AI.
Authentication failed: Invalid API key. Ensure HLLM_API_KEY is correct.
Last checked: 1/17/2026, 12:59:44 AM
Test @tpmjs/tools-hllm (improvePrompt) 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 { improvePrompt } from '@tpmjs/tools-hllm';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { improvePrompt } from '@tpmjs/tools-hllm';
const result = await generateText({
model: openai('gpt-4o'),
tools: { improvePrompt },
prompt: 'Your prompt here...',
});
console.log(result.text);Available configuration options
promptstringThe prompt to improve.
goalstringWhat improvement to focus on.
Schema extracted: 1/17/2026, 12:59:43 AM
ERROR: No README data found!
Downloads/month
0
Quality Score