agent loops — tool_use and the request/tool/respond cycle2 / 9
stop_reason, tool_use, tool_result — the loop every agent runs
The agent loop just got back a response with stop_reason == "tool_use". What does your code do next?
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _