ProjectsAgentTool Class

Definition

[System.ClientModel.Primitives.PersistableModelProxy(typeof(OpenAI.UnknownTool))]
public abstract class ProjectsAgentTool : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.ProjectsAgentTool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.ProjectsAgentTool>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(OpenAI.UnknownTool))>]
type ProjectsAgentTool = class
    interface IJsonModel<ProjectsAgentTool>
    interface IPersistableModel<ProjectsAgentTool>
Public MustInherit Class ProjectsAgentTool
Implements IJsonModel(Of ProjectsAgentTool), IPersistableModel(Of ProjectsAgentTool)
Inheritance
ProjectsAgentTool
Derived
Attributes
Implements

Methods

Name Description
AsProjectTool<T>(T)

Reinterprets a tool from the OpenAI ResponseTool hierarchy as a ProjectsAgentTool by round-tripping through the wire format.

CreateA2ATool(Uri, String)

Creates a new tool that lets the agent communicate with another agent over the Agent-to-Agent (A2A) protocol.

CreateAzureAISearchTool(AzureAISearchToolOptions)

Creates an Azure AI Search tool with the supplied options.

CreateBingCustomSearchTool(BingCustomSearchToolOptions)

Creates a Bing custom search tool with the supplied options.

CreateBingGroundingTool(BingGroundingSearchToolOptions)

Creates a Bing grounding tool with the supplied options.

CreateBrowserAutomationTool(BrowserAutomationToolOptions)

Creates a browser-automation tool with the supplied options.

CreateMicrosoftFabricTool(FabricDataAgentToolOptions)

Creates a Microsoft Fabric data agent tool with the supplied options.

CreateOpenApiTool(OpenApiFunctionDefinition)

Creates an OpenAPI tool from the supplied function definition.

CreateSharepointTool(SharePointGroundingToolOptions)

Creates a SharePoint grounding tool with the supplied options.

CreateStructuredOutputsTool(StructuredOutputDefinition)

Creates a tool that captures structured outputs from the agent.

JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Operators

Name Description
Implicit(ProjectsAgentTool to ResponseTool)

Implicitly converts a ProjectsAgentTool into the underlying OpenAI.Responses.ResponseTool representation by round-tripping through the wire format.

Explicit Interface Implementations

Name Description
IJsonModel<ProjectsAgentTool>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ProjectsAgentTool>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ProjectsAgentTool>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ProjectsAgentTool>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ProjectsAgentTool>.Write(ModelReaderWriterOptions)

Applies to