McpServerToolApprovalResponseContent Class
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.
Represents a response to an MCP server tool approval request.
public ref class McpServerToolApprovalResponseContent sealed : Microsoft::Extensions::AI::UserInputResponseContent
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
public sealed class McpServerToolApprovalResponseContent : Microsoft.Extensions.AI.UserInputResponseContent
public sealed class McpServerToolApprovalResponseContent : Microsoft.Extensions.AI.UserInputResponseContent
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
type McpServerToolApprovalResponseContent = class
inherit UserInputResponseContent
type McpServerToolApprovalResponseContent = class
inherit UserInputResponseContent
Public NotInheritable Class McpServerToolApprovalResponseContent
Inherits UserInputResponseContent
- Inheritance
- Attributes
Constructors
| McpServerToolApprovalResponseContent(String, Boolean) |
Initializes a new instance of the McpServerToolApprovalResponseContent class. |
Properties
| AdditionalProperties |
Gets or sets additional properties for the content. (Inherited from AIContent) |
| Annotations |
Gets or sets a list of annotations on this content. (Inherited from AIContent) |
| Approved |
Gets a value indicating whether the user approved the request. |
| Id |
Gets the ID that uniquely identifies the user input request/response pair. (Inherited from UserInputResponseContent) |
| RawRepresentation |
Gets or sets the raw representation of the content from an underlying implementation. (Inherited from AIContent) |