Question 71
Open question ↗Scenario: Agent Architecture and Orchestration
A coordinator must guarantee that `verify_identity` always runs and succeeds before `process_payment` can be called. The team is debating whether to enforce ordering via the system prompt or programmatically.
Which approach gives a deterministic guarantee?
- A.A detailed system prompt that explains the required order with examples.
- B.A programmatic precondition that blocks `process_payment` until `verify_identity` has returned a verified result.
- C.Setting `tool_choice: "any"` so the model must always call a tool first.
- D.Listing `verify_identity` before `process_payment` in `allowed_tools`.