Retool Agents best practices
Best practices for Retool Agents.
Follow these best practices when building and deploying Retool Agents.
Write effective instructions and tool descriptions
Clear, well-written instructions help the agent choose the right tools and complete tasks in fewer steps, which reduces both latency and cost. Specific tool descriptions help the agent select the right tool on the first attempt. Descriptions are limited to 2,000 characters — use that space to clarify when and how each tool should be used.
Limit and configure tools
Connect only the tools required for the agent's specific function. A shorter tool list reduces the chance of the agent selecting an inappropriate tool and improves decision-making speed. Configure explicit timeout thresholds for each tool to prevent long-running calls from blocking the agent. The default tool handler timeout is 10 seconds; child agent tools allow up to 8 hours maximum.