2026-05-06 dotnetai-agentsagent-framework Microsoft Agent Framework gates risky tool calls behind FunctionApprovalRequestContent Wrap an AIFunction in ApprovalRequiredAIFunction and the agent stops mid-run to ask permission. Here is how the request and response flow works in C#.