
Explanation:


To let an agent use public web data with recency controls (e.g., limit to content from the last 90 days), you add the Bing grounding tool. In the Azure AI Foundry Agent Service SDK, you create a connection (e.g., search_connection_id ) and then construct a BingGroundingTool with that connection. The tool exposes a list of definitions (tool operations) that the agent can call at runtime.
When creating the agent, you pass tool definitions via the tools= argument (a list of ToolDefinition ). The tool_resources= argument is used when the tool requires additional resource descriptors (e.g., Azure AI Search index configuration). For Bing grounding, providing the connection and passing the definitions as tools= is sufficient. This enables the agent to call Bing with date filters to retrieve only recent, publicly accessible content.
Microsoft Azure AI References (titles only)
Azure AI Agent Service - Bing web grounding tool
Azure AI Agent Service - Create an agent (agent creation parameters including tools and tool_resources ) Azure AI Agent Service - Tool connections and definitions