T5-R2 in five minutes
A tool is a function with a name, a schema, and a side effect you understand.
The model proposes arguments. Your code validates them.
Toolformer is a paper about models learning to call tools. It is not a product you must buy.
Lab 02 returns math from a tool, not from a fluent guess.
A tool that can send a message needs a human check in this lab's examples.
The tool get_sum(2, 2) returns 4 because the code adds. The model is not the calculator. The trace should show the tool result.
Sources and go deeper
- Schick and co-authors, Toolformer: Language Models Can Teach Themselves to Use Tools, 2023 paper last checked 2026-10
- Anthropic, Building effective agents vendor last checked 2026-10
- Large language model — Wikipedia wikipedia last checked 2026-10