Flashcard: what is a tool in an LLM agent?
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
A tool is a named function with a schema the agent can call at runtime; tools are what let the agent act on the world beyond producing text.
Picture someone solving a puzzle. They are sharp, but if all they can do is talk, they can only ever describe a solution. Now hand them a calculator, a phone, and a search bar. Suddenly they can compute, look things up, and call other people. They still do the thinking, but now the thinking turns into actions. A tool is one of those handheld helpers for an AI agent. Each tool has a label and instructions stuck on the front (the schema), so the agent knows what the tool is for and how to use it. When the agent decides it needs a particular tool, it asks for it by name, and the runtime actually picks it up and uses it. Tools are how an LLM stops being a clever talker and starts being an agent that does things.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: define a tool as a named function with a schema, walk through how the schema reaches the model via the prompt, explain that the model emits a request and the runtime executes the call, give two or three concrete tool categories, and mention scope as a safety control.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Thinking the LLM runs the tool itself. The model emits a structured request naming the tool and arguments; the runtime is what actually executes the function and feeds the result back.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.