Should tools return raw data or summaries?
BeginnerConceptTool use & function calling
Answer
Return concise, relevant data. Dumping 10,000 log lines wastes context and confuses the model. Filter, truncate and structure results in the tool (errors only, last 200 lines, key fields) and say when results were truncated.