Home/Tools/@thomasdavis/lisa

giftLisaTool

@thomasdavis/lisa

Give Lisa a virtual gift and see her reaction

Official
ai-ml
v0.0.2
MIT

Interactive Playground

Test @thomasdavis/lisa (giftLisaTool) 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 { giftLisaTool } from '@thomasdavis/lisa';

3. Use with AI SDK

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

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

console.log(result.text);

Signature

(gift: string, message?: string) => Promise<unknown>

Tags

ai-ml
ai-sdk
gift
give
lisa
reaction
see
tpmjs-tool
virtual

Parameters

Available configuration options

Auto-extracted
gift
Required
Type: string

The gift you want to give Lisa

message
Optional
Type: string

An optional message to go with the gift

Schema extracted: 3/1/2026, 4:25:08 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)
giftLisaTool | TPMJS | TPMJS