Home/Tools/@tpmjs/tools-hllm

uploadFile

@tpmjs/tools-hllm

Upload a file for use in topologies.

Official
agent
v0.1.2
MIT
⚠️

This tool is currently broken

Execution Failed
Runtime error with test parameters
Authentication failed: Invalid API key. Ensure HLLM_API_KEY is correct.

Last checked: 1/17/2026, 12:59:41 AM

Interactive Playground

Test @tpmjs/tools-hllm (uploadFile) 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-hllm
pnpm add @tpmjs/tools-hllm
yarn add @tpmjs/tools-hllm
bun add @tpmjs/tools-hllm
deno add npm:@tpmjs/tools-hllm

2. Import the tool

import { uploadFile } from '@tpmjs/tools-hllm';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { uploadFile } from '@tpmjs/tools-hllm';

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

console.log(result.text);

Parameters

Available configuration options

Auto-extracted
name
Required
Type: string

File name.

content
Required
Type: string

Base64-encoded file content.

mimeType
Optional
Type: string

MIME type of the file.

Schema extracted: 1/17/2026, 12:59:41 AM

README

ERROR: No README data found!

Statistics

Downloads/month

0

Quality Score

0%

Bundle Size

NPM Keywords

tpmjs
hllm
ai
llm
topology
agent

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai