Back to prompt library
MAS CPI Tool AI SDK Route
Linked challenge: Build a MAS CPI Inflation Indexing and Fraud Anomaly Engine using Vercel AI SDK
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Write a TypeScript API route using Vercel AI SDK's `generateObject`. Create a custom tool that fetches MAS CPI statistics and adjusts borrower disposable income.