🤖Parallel Tool Calls
Also known as Parallel Tool Use, Parallel Function Calling
A model asks for many tools in one reply. Your code can run them at once.
Think of it like
It is like asking three friends to fetch three things at once. You do not wait for one to come back first.
Example
Lucy asks for the weather in Paris and Rome. The model sends two weather calls in one reply, her code runs both at once, and both results go back in one message.
Why it matters
Each round trip to a model takes time. Doing many calls in one turn makes agents much faster.
Definition
Common mistake
Key takeaways
- 1Many calls, one reply. Each call has its own id.
- 2Run them together. When they do not depend on each other.
- 3One message back. All the results return at once.