Tool latency is fine, but overall AI task latency is poor once tools are added. How would you investigate?

Instruction: Describe how you would debug latency when the slowdown appears above the tool layer.

Context: Tests how the candidate diagnoses the problem, chooses the safest next step, and reasons through recovery. Describe how you would debug latency when the slowdown appears above the tool layer.

Official answer available

Preview the opening of the answer, then unlock the full walkthrough.

I would profile the whole workflow, not just tool execution time. Once tools are added, latency often accumulates in orchestration overhead, repeated model turns, unnecessary planning steps, approval waits, result post-processing, and serial execution where parallelism was possible.

I would inspect how many times...

Related Questions