Table of Contents

Class HttpGetTool

Namespace
LMKit.Agents.Tools.BuiltIn.Net
Assembly
LM-Kit.NET.dll

Makes an HTTP GET request to fetch content from a URL.

This is a read-only tool that retrieves web content, API responses, and other resources accessible via HTTP GET.

public sealed class HttpGetTool : IBuiltInTool, ITool, IToolMetadata, IDisposable
Inheritance
HttpGetTool
Implements
Inherited Members

Constructors

HttpGetTool()

Initializes a new instance with default settings.

HttpGetTool(HttpToolOptions)

Initializes a new instance with custom options.

HttpGetTool(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

Dispose()
InvokeAsync(string, CancellationToken)

Executes the tool with the specified JSON arguments.

Share