Question 390
An order-fulfillment agent fails intermittently after a tool integration update. A release check shows that logs show model completion but no record of failed downstream Lambda spans. Which approach addresses that specific constraint?
Explanation
Correct Answer
The root-cause-oriented decision is to trace model and Lambda request IDs across the workflow. End-to-end traces connect symptoms to their actual origin.
Incorrect Answers
Validate action schema and normalize typed arguments before invocation mitigates the agent sends a string quantity to a tool expecting an integer. Tool contract mismatch is not an FM hosting outage.
Although it may be useful to use an explicit unconfirmed state and verify authoritative tool outcomes, that would address the condition that the agent fabricates shipping confirmation after a tool request times out. Missing tool results must not become success claims.
If one agent tool keeps returning a 500 and the workflow never terminates, the team could reasonably set per-tool retry ceilings and a failed-state transition.