Home/Tools/@thomasdavis/lisa

lisaJokeTool

@thomasdavis/lisa

Get Lisa to tell you a joke

Official
ai-ml
v0.0.2
MIT

Interactive Playground

Test @thomasdavis/lisa (lisaJokeTool) 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 @thomasdavis/lisa
pnpm add @thomasdavis/lisa
yarn add @thomasdavis/lisa
bun add @thomasdavis/lisa
deno add npm:@thomasdavis/lisa

2. Import the tool

import { lisaJokeTool } from '@thomasdavis/lisa';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { lisaJokeTool } from '@thomasdavis/lisa';

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

console.log(result.text);

Signature

(category?: string) => Promise<unknown>

Tags

ai-ml
ai-sdk
joke
lisa
tell
tpmjs-tool

Parameters

Available configuration options

Auto-extracted
category
Optional
Type: string

Optional joke category preference

Schema extracted: 12/29/2025, 11:30:33 AM

README

@thomasdavis/lisa

AI SDK tools for lisa

Installation

pnpm add @thomasdavis/lisa

Tools

This package provides 2 tools for the AI SDK:

  • exampleTool: An example tool - customize this for your use case
  • anotherTool: Another example tool - add your implementation here

Usage

import { exampleTool } from '@thomasdavis/lisa';
import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';

const result = await generateText({
  model: openai('gpt-4'),
  prompt: 'Process this text for me',
  tools: {
    exampleTool,
  },
});

console.log(result.text);

Development

# Install dependencies
pnpm install

# Build the package
pnpm build

# Type-check
pnpm type-check

# Watch mode
pnpm dev

Publishing

  1. Update the version in package.json
  2. Build the package: pnpm build
  3. Publish to npm: pnpm publish --access public
  4. Your tools will appear on tpmjs.com within 2-15 minutes

License

MIT

Statistics

Downloads/month

16

GitHub Stars

0

Quality Score

52%

Bundle Size

NPM Keywords

tpmjs-tool
ai-sdk
ai-ml
lisa

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)