Tool Use and Function Calling
01How a model stops talking and starts doing
I think about tool use as the moment a language model stops being a text generator and starts being something you can actually give work to. The model outputs structured JSON. Your code reads that JSON and does something real: calls an API, writes a file, queries a database. That is the whole trick. MCP, computer use, all of it sits on top of this one primitive. If you understand this, you understand why agents can do things at all.
Why it matters. Every agent capability you will ever build traces back here. A model without tool use is genuinely useful but it is not an agent. The gap between "can generate text about doing X" and "can actually do X" is exactly this primitive. That gap is worth understanding before you build anything on top of it.