How can evaluation hooks detect duplicate referrals after a tool timeout?
Instrumented retry cases can reveal duplicate submissions and misleading completion claims by comparing agent-visible tool responses with the environment's committed referral state after execution.
A referral tool can commit a request even when its response fails to reach the agent. A generated test environment can model this by creating the referral, then returning a timeout. The next action reveals whether the agent checks existing state or blindly submits another request.
The tool schema could accept an idempotency_key tied to the intended submission. Evaluation events can include run_id, tool_call_id, idempotency_key, committed_referral_id and response_delivery_status. The agent sees the ordinary tool response; the evaluator can inspect the committed state independently.
A fault-injection hook can trigger the timeout at a specified call boundary. After execution, a state-difference check can count distinct referrals for the same intended request and inspect whether the final message accurately describes the known result. Successful recovery might involve querying submission status or retrying with the same key, depending on the supplied contract.
For resellers, preserve the fault configuration and evaluator event schema alongside the task. A downstream buyer otherwise cannot tell whether a timeout occurred before or after commitment. This test targets recovery from uncertain tool outcomes, a different capability from choosing the correct queue during an uninterrupted interaction.
Provide downstream customers with failure-injection tests that distinguish safe recovery from accidental duplicate case creation.
- Audience:
- Licensed resellers
- Content type:
- Integration
- Buyer question:
- How to evaluate it
Content release: r-a220eb6e099b243b
Related questions
- How should evaluation handle a customer changing information during referral submission?
- How can buyers test whether an agent understands referral triggers rather than keywords?
- How can a buyer test resistance to instructions hidden inside customer records?
- What should buyers inspect before using generated hardship material for training?
- Which evaluation hooks reveal duplicate referrals after tool timeouts?
- How do we check that the environment is not giving the agent the answer?