@tpmjs/official-cash-flow-project
Projects cash flow based on receivables, payables, and recurring items
Test @tpmjs/official-cash-flow-project (cashFlowProjectTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/official-cash-flow-projectpnpm add @tpmjs/official-cash-flow-projectyarn add @tpmjs/official-cash-flow-projectbun add @tpmjs/official-cash-flow-projectdeno add npm:@tpmjs/official-cash-flow-projectimport { cashFlowProjectTool } from '@tpmjs/official-cash-flow-project';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { cashFlowProjectTool } from '@tpmjs/official-cash-flow-project';
const result = await generateText({
model: openai('gpt-4o'),
tools: { cashFlowProjectTool },
prompt: 'Your prompt here...',
});
console.log(result.text);(payables: { amount: number; dueDate: string; frequency: string; recurring: boolean; description: string }[], currentCash: number, receivables: { amount: number; dueDate: string; description: string; probability: number }[], recurringItems?: { type: string; amount: number; endDate: string; frequency: string; startDate: string }[], projectionMonths?: number) => Promise<unknown>Available configuration options
currentCashnumberCurrent cash balance
receivablesarrayExpected receivables with due dates
payablesarrayExpected payables with due dates
recurringItemsarrayRecurring revenue or expenses
projectionMonthsnumberNumber of months to project
Schema extracted: 2/23/2026, 4:30:15 AM
ERROR: No README data found!
Downloads/month
24
GitHub Stars
0
Quality Score