MCPToolResource.ToToolResources Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new ToolResources instance with this MCPToolResource added to the Mcp collection.
public Azure.AI.Agents.Persistent.ToolResources ToToolResources();
member this.ToToolResources : unit -> Azure.AI.Agents.Persistent.ToolResources
Public Function ToToolResources () As ToolResources
Returns
A new ToolResources instance containing this MCPToolResource.