- Glossary
- tool_use block
Glossary term
tool_use block
The content block in which the model asks to call a tool, with the tool name, an id and the input.
Also called tool_use.
Open lesson 33.3
Parallel tool calls · Chapter 33, and 2 more lessons below
In plain words
When a response contains one, stop_reason is "tool_use" and your code must run the tool.
Taught in
Also in these lessons
Context windowmax_tokensStop reasonStop sequenceToken countingtool_choice