---
title: "Comment by Kartik N V J K on \"Why Your AI Agent Calls the Wrong Tool (and How to Test Tool Routing)\" | Hashnode"
description: "After consolidating, I'd also assert on block.input in that same call, say that 4412 lands in the order id argument, since you point out errors move into argume"
url: "https://hashnode.com/posts/ai-agent-tool-selection-too-many-tools/6ae4395e50c7277f122fa376/comment/6ae49d3d81fb2ec70013fdd3"
---

[Discussion](https://hashnode.com/posts/ai-agent-tool-selection-too-many-tools/6ae4395e50c7277f122fa376)

Comment [Why Your AI Agent Calls the Wrong Tool (and How to Test Tool Routing)](https://hashnode.com/posts/ai-agent-tool-selection-too-many-tools/6ae4395e50c7277f122fa376)

[Kartik N V J K](https://hashnode.com/@kartik-nvj)

[Oct 30](https://hashnode.com/posts/ai-agent-tool-selection-too-many-tools/6ae4395e50c7277f122fa376/comment/6ae49d3d81fb2ec70013fdd3)

After consolidating, I'd also assert on block.input in that same call, say that 4412 lands in the order id argument, since you point out errors move into arguments. It still stops before anything executes, so the suite stays quick.
