Why it matters
Parallel tools shape latency. Modern LLMs support parallel; ADK must too.
Advertisement
The architecture
LLM returns list of tool calls.
Execute in parallel (CompletableFuture, structured concurrency).
Advertisement
How it works end to end
CompletableFuture: allOf.
Structured concurrency: cleaner in Java 21+.
Timeouts per call.
Aggregate results.