Class HttpDeleteTool
Makes an HTTP DELETE request to remove a resource.
Enables agents to delete resources on REST APIs and other HTTP endpoints that accept DELETE requests.
public sealed class HttpDeleteTool : IBuiltInTool, ITool, IToolMetadata, IDisposable
- Inheritance
-
HttpDeleteTool
- Implements
- Inherited Members
Constructors
- HttpDeleteTool()
Initializes a new instance with default settings.
- HttpDeleteTool(HttpToolOptions)
Initializes a new instance with custom options.
- HttpDeleteTool(HttpClient, HttpToolOptions)
Initializes a new instance with an existing HttpClient.
Properties
- Description
Gets a concise description of what the tool does.
- InputSchema
Gets the JSON Schema defining the expected input arguments.
- Name
Gets the stable, unique identifier for this tool.
Methods
- InvokeAsync(string, CancellationToken)
Executes the tool with the specified JSON arguments.