Agents fail in their tool calls more than anywhere else, and in two separate ways:
- Tool choice: the wrong tool, such as cancelling an order when asked for a refund.
- Arguments: the right tool with the wrong values: the full amount instead of the part asked for, or another customer's order.
The worst case is a wrong argument that still succeeds. Refunding the wrong order raises no error, and the agent reports success. Every step OrderDesk took is in the steps of its response: tool, arguments, status and result.
Your task
Ask for a partial refund and test the tool choice and the arguments separately, plus the database. On submit your tests run against a working build and builds that choose the wrong tool, the wrong amount and the wrong order.