Class HttpHeadTool
Makes an HTTP HEAD request to retrieve response headers without body.
Enables agents to check resource metadata, verify URL existence, and inspect headers without downloading the full response body.
public sealed class HttpHeadTool : IBuiltInTool, ITool, IToolMetadata, IDisposable
- Inheritance
-
HttpHeadTool
- Implements
- Inherited Members
Constructors
- HttpHeadTool()
Initializes a new instance with default settings.
- HttpHeadTool(HttpToolOptions)
Initializes a new instance with custom options.
- HttpHeadTool(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.