Home / Companies / Neon / Blog / Post Details
Content Deep Dive

Building a VSCode Chat Extension to Order Lunch

Blog post from Neon

Post Details
Company
Date Published
Author
Andrew Hamilton
Word Count
1,213
Company Posts That Month
42
Language
English
Hacker News Points
-
Post removed?
No
Summary

The developer created a VSCode extension that allows users to order food from Grubhub using the platform's API. The extension uses a Language Model (LLM) tool to generate parameters for the API calls, and it leverages Postman Interceptor to intercept and manipulate requests. After reverse-engineering the Grubhub API, the developer found that only 5 routes are necessary to place an order: `POST /carts`, `POST /carts/{cart_id}/lines`, `PUT /carts/{cart_id}/delivery_info`, `POST /carts/{cart_id}/payments`, and `POST /carts/{cart_id}/checkout`. The extension is built using TypeScript and requires the VSCode LanguageModelTool class to invoke functions. To simplify API workflows, the developer implemented a system that cleans and simplifies the API for AI agents to use effectively. The extension can be installed in VSCode, and users can input their bearer token and POINT values to complete the ordering process.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
LLM 8 4,855 541 180 +51%
AI Coding Assistant 5 835 112 56 +7%
AI Agents 1 2,167 325 120 +47%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.