What is tool calling? Letting a café chatbot look up orders
What is tool calling and how does it work? Describe tools to an LLM, read the tool_use block, run your real function and send a tool_result back, in TypeScript.
Topic 04 · 3 posts
Understand and build AI agents yourself: tool calling, MCP, RAG, security and cost, with code that runs.
What is tool calling and how does it work? Describe tools to an LLM, read the tool_use block, run your real function and send a tool_result back, in TypeScript.
Call an LLM API in TypeScript with Claude's official SDK, write a system prompt for a café chatbot, and see why it confidently invents order statuses.
What is an AI agent, and how is it different from a chatbot or a workflow? Three ways to answer a café's customers, compared with TypeScript code that runs.