Skip to content

Interview question · Tool Calling & Tool Contracts

An agent has 120 tools and keeps picking the wrong one. Fix the tool surface.

Interviewers want a sequence, not a technique: measure where the wrong choices cluster, consolidate, then cut what each run sees, and prove it end to end.

hardEssentialNewUpdated Nov 2026

Interviewers want a sequence, not a technique: measure where the wrong choices cluster, consolidate, then cut what each run sees, and prove it end to end.

Make your first attempt

Before you read on, answer it yourself

  1. 01 State the assumptions your answer depends on.
  2. 02 Explain the mechanism and choose a control.
  3. 03 Say what fact, if it changed, would flip your answer.

Then open the worked answer: the approach, how a panel scores it, and the follow-ups. Check where your reasoning diverged.

a free account opens extra answers in every topic

What if · follow-ups that change one fact

The answer works through 4 follow-ups like an interviewer would

After consolidation, the agent has 35 tools and a tool search step for the long tail. Selection accuracy is 93%.

  1. What if latency complaints rise after adding tool search?
  2. What if a security review asks which tools a customer conversation can reach?
  3. What if costs jumped by a factor of three after shipping?
  4. Summarise the approach for the interviewer.

Each rung has a nudge, a model answer, the principle that carries over and the weak answer to avoid. Sign in free to open it.

UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

Nobody has commented. Post a correction or another way to answer.