Question 140
An agent should call a returns API when the user requests an actual return, but it merely describes how to return a product. Which post-change finding best verifies that the requirement has been met?
Explanation
Correct Answer
This directly validates the requirement: The test passes only when the permitted returns tool is invoked with valid parameters. The implementation is: Select a tool-use evaluation that checks expected capability invocation. That addresses the underlying concern because answer quality does not prove a required action was executed.
Incorrect Answers
Rejecting malformed invoices protects ledger writes, but the task is an actual product return; it must invoke the correct permitted returns tool, not merely validate invoice schemas.
Zero delete calls for informational prompts is a good negative safety check. The current prompt explicitly requests a return action, so acceptance requires that the approved returns operation actually runs.
Fresh authorization on customer switches prevents cross-account state leakage. It does not prove the agent executes the return API for a valid current customer request.