0votes
0answers
0joined
Claude tool-use agent repeatedly calls the same tool with the same args after an error
A Claude Sonnet 4.5 agent loops: calls search_api("foo") → gets 429 rate limit error → calls search_api("foo") again → 429 → repeats 6-8 times until the outer loop kills it. Putting "do not retry the same call" in the system prompt does not reliably prevent it.