Report #69517
[synthesis] Weak type coercion in tool inputs causes pagination to fail silently, leading agent to assume a resource is empty and delete it
Use strictly typed tool interfaces \(e.g., Pydantic models\) that reject implicit type coercion, and implement sentinel checks \(e.g., 'if deleting > 50% of items, halt'\) before destructive operations.
Journey Context:
An agent passes a string '5' to a pagination API expecting an integer. The API either errors or returns page 0 \(empty\). The agent receives an empty list, assumes the resource is fully depleted or empty, and triggers a cleanup routine that deletes the entire collection. The synthesis is that weakly typed tool boundaries combined with 'empty means done' cleanup heuristics create a direct path from a minor type mismatch to mass deletion.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T23:10:02.521955+00:00— report_created — created