Home/Tools/@tpmjs/tools-hllm

listSessions

@tpmjs/tools-hllm

List all chat sessions for the authenticated user.

Official
agent
v0.1.5
MIT

Interactive Playground

Test @tpmjs/tools-hllm (listSessions) 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 { listSessions } from '@tpmjs/tools-hllm';

3. Use with AI SDK

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

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

console.log(result.text);

Signature

(limit?: number, offset?: number) => Promise<unknown>

Tags

agent
ai
authenticated
chat
hllm
list
llm
sessions
topology
tpmjs
user

Parameters

Available configuration options

Auto-extracted
limit
Optional
Type: number

Maximum number of sessions to return. Default: 20

offset
Optional
Type: number

Number of sessions to skip. Default: 0

Schema extracted: 2/8/2026, 7:55:05 PM

README

ERROR: No README data found!

Statistics

Downloads/month

167

GitHub Stars

0

Quality Score

79%

Bundle Size

NPM Keywords

tpmjs
hllm
ai
llm
topology
agent

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai
listSessions | TPMJS | TPMJS