@tpmjs/tools-hllm
Create a new prompt in the library.
Test @tpmjs/tools-hllm (createPrompt) 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 { createPrompt } from '@tpmjs/tools-hllm';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { createPrompt } from '@tpmjs/tools-hllm';
const result = await generateText({
model: openai('gpt-4o'),
tools: { createPrompt },
prompt: 'Your prompt here...',
});
console.log(result.text);(name: string, content: string, tags?: string[], category?: string, description?: string) => Promise<unknown>Available configuration options
namestringName of the prompt.
contentstringThe prompt content/template.
descriptionstringDescription of what the prompt does.
categorystringCategory for organization.
tagsarrayTags for filtering.
Schema extracted: 3/3/2026, 4:21:22 AM
ERROR: No README data found!
Downloads/month
167
GitHub Stars
0
Quality Score