afterTool

Runs after each tool call; may rewrite the result.