MAS CPI Tool AI SDK Route
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.