WebSearchToolResource
Classsealednet10.0
A Foundry tool resource that retrieves real-time information from the public web and returns answers with inline citations.
namespace Aspire.Hosting.Foundry;
public sealed class WebSearchToolResource : Aspire.Hosting.Foundry.FoundryToolResource{ // ...}Remarks
Section titled Remarks This is the recommended way to add web grounding to an agent. No Azure provisioning is required — the tool is provided by the Foundry Agent Service.
Constructors1
Section titled Constructors Creates a new instance of the
WebSearchToolResource class. Methods1
Section titled MethodsTask<ResponseTool> Converts this tool definition into the SDK
Responses.ResponseTool representation.