An agent retries a create-ticket tool after a timeout. The first call may already have created the ticket. Which design best prevents duplicate tickets?

Published
  1. Generate a new ticket identifier on every retry.
  2. Assume a timeout proves the first tool did no work.
  3. Disable all failure reporting and tell the user the ticket was created.
  4. Use a stable idempotency key and return the recorded result for repeated creation requests.

Comments — 0