@tpmjs/tools-renewal-forecast
Forecasts customer renewal likelihood based on health score and engagement patterns. Provides risk assessment, positive signals, and prioritized actions to improve renewal outcomes.
Account must have a non-empty id
Last checked: 3/1/2026, 4:27:27 AM
Test @tpmjs/tools-renewal-forecast (renewalForecastTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-renewal-forecastpnpm add @tpmjs/tools-renewal-forecastyarn add @tpmjs/tools-renewal-forecastbun add @tpmjs/tools-renewal-forecastdeno add npm:@tpmjs/tools-renewal-forecastimport { renewalForecastTool } from '@tpmjs/tools-renewal-forecast';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { renewalForecastTool } from '@tpmjs/tools-renewal-forecast';
const result = await generateText({
model: openai('gpt-4o'),
tools: { renewalForecastTool },
prompt: 'Your prompt here...',
});
console.log(result.text);(account: { id: string; name: string; tier: string; healthScore: number; renewalDate: string }) => Promise<unknown>Available configuration options
accountobjectAccount information for renewal forecasting
Schema extracted: 3/1/2026, 4:27:27 AM
ERROR: No README data found!
Downloads/month
5
GitHub Stars
0
Quality Score