How do you audit what an agent did with its tools?
AdvancedProductionTool use & function calling
Answer
Log every tool call with timestamp, agent run ID, user who triggered it, tool name, validated arguments, result summary and approval details. Ship logs to your central logging system and alert on unusual patterns, such as high write-call rates or calls outside normal scope.