Tools and function calls, and where letting it act goes wrong.
6 pieces · start with the guide
A tool call is text the model writes and your code runs. The arguments are generated like any other text, so a wrong one still runs unless you check it first.