Home/Tools/@tpmjs/tools-lead-score

leadScoreTool

@tpmjs/tools-lead-score

Score leads based on engagement signals like email opens, page visits, form fills, and company fit

Official
sales
v0.1.0
MIT
⚠️

This tool is currently broken

Import Failed
Cannot load from Railway service
Tool "leadScoreTool" has no valid inputSchema. Tools must use AI SDK jsonSchema(), Zod v4 (._zod), or Zod v3 (._def) schemas.

Last checked: 3/1/2026, 4:29:22 AM

Interactive Playground

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

2. Import the tool

import { leadScoreTool } from '@tpmjs/tools-lead-score';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { leadScoreTool } from '@tpmjs/tools-lead-score';

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

console.log(result.text);

Parameters

Available configuration options

Author-provided
lead
Required
Type: object

Lead information with engagement history

Try to auto-extract schema from the package

README

ERROR: No README data found!

Statistics

Downloads/month

10

GitHub Stars

0

Quality Score

74%

Bundle Size

NPM Keywords

tpmjs
sales
lead-scoring
crm

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai