Idempotency key for a tool call
Difficulty 3 of 5
An agent sends support replies through a tool runner. From 0:30 the email service slows down, and some customers get the same reply twice. Send each reply once, lose none, and finish by 2:00. The tool runner and email service are fixed. You may make 4 edits.
0:42. Customers report two copies of one reply. Email sends rise to twice the reply rate.
13 deliveries · 10 payments applied · 0 charged twice
Goals and limits
- Duplicates
- none
- Lost writes
- none
- Completion time
- under 120 s
- Monthly cost
- under 30 USD/mo
- Parts you can add
- Worker, API server, Redis cache
- Part limit
- 2
- Edit limit
- 4
- Traffic
- 2 req/s
Concepts
How players did
Player results load from the server.