ResponseToolExtensions Class

Definition

Extension methods that convert OpenAI OpenAI.Responses.ResponseTool instances into the equivalent ProjectsAgentTool representation.

public static class ResponseToolExtensions
type ResponseToolExtensions = class
Public Module ResponseToolExtensions
Inheritance
ResponseToolExtensions

Methods

Name Description
AsAgentTool(ResponseTool)

Reinterprets an OpenAI OpenAI.Responses.ResponseTool as a ProjectsAgentTool by round-tripping through the wire format.

Applies to