ToolApprovalRequestContentExtensions 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.
Provides extension methods on ToolApprovalRequestContent for creating AlwaysApproveToolApprovalResponseContent instances that instruct the ToolApprovalAgent middleware to record standing approval rules.
public static class ToolApprovalRequestContentExtensions
type ToolApprovalRequestContentExtensions = class
Public Module ToolApprovalRequestContentExtensions
- Inheritance
-
ToolApprovalRequestContentExtensions
Methods
| Name | Description |
|---|---|
| CreateAlwaysApproveToolResponse(ToolApprovalRequestContent, String) |
Creates an approved AlwaysApproveToolApprovalResponseContent that also instructs the middleware to always approve future calls to the same tool, regardless of the arguments provided. |
| CreateAlwaysApproveToolWithArgumentsResponse(ToolApprovalRequestContent, String) |
Creates an approved AlwaysApproveToolApprovalResponseContent that also instructs the middleware to always approve future calls to the same tool with the exact same arguments. |