How do you test tools for agents?
AdvancedProductionTool use & function calling
Answer
Unit-test each tool like any API: valid inputs, invalid inputs, permission errors, timeouts and truncation. Then run agent-level evaluations that check the agent picks the right tools with sensible arguments for a set of realistic tasks.