Table of Contents

Namespace LMKit.Agents.Tools.BuiltIn.Net

Classes

FtpDeleteTool

A built-in tool for deleting a file on an FTP server.

This is an irreversible operation. The file cannot be recovered after deletion.

FtpDownloadTool

A built-in tool for downloading a file from an FTP server.

Downloads a remote file and either saves it to a local path or returns the content as text. When returning as text, content is truncated to the configured maximum text length. Local path access is validated against the configured allow/block lists.

FtpListTool

A built-in tool for listing files and directories on an FTP server.

Retrieves directory listings with parsed entry metadata (name, type, size, permissions, date). Also supports querying individual file information (size and last modification time) via the optional infoPath parameter.

FtpMkdirTool

A built-in tool for creating a directory on an FTP server.

Issues an MKD command to create a new directory at the specified remote path.

FtpRenameTool

A built-in tool for renaming or moving a file on an FTP server.

Issues RNFR/RNTO commands to rename a remote file or move it to a different path.

FtpRmdirTool

A built-in tool for removing a directory on an FTP server.

This is an irreversible operation. The directory and its metadata cannot be recovered after removal. The directory must typically be empty for the RMD command to succeed.

FtpTestTool

A built-in tool for testing the connection to an FTP server.

Connects to the server, retrieves the system type and current working directory, and measures the elapsed time. Useful for verifying credentials and connectivity before performing other operations.

FtpToolOptions

Configuration options shared by all FTP tools.

FtpUploadTool

A built-in tool for uploading a file to an FTP server.

Supports uploading from inline text content or from a local file path. Local path access is validated against the configured allow/block lists. File size is checked against the configured maximum before transfer.

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.

HttpDownloadTool

Downloads a file from a URL to the local filesystem with streaming and size limits.

HttpGetTool

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.

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.

HttpPatchTool

Makes an HTTP PATCH request to partially update a resource.

Enables agents to apply partial modifications to resources on REST APIs and other HTTP endpoints that accept PATCH requests.

HttpPostTool

Makes an HTTP POST request to send data to a URL.

Enables agents to submit data to REST APIs, web services, and other HTTP endpoints that accept POST requests.

HttpPutTool

Makes an HTTP PUT request to replace a resource at a URL.

Enables agents to update or replace resources on REST APIs and other HTTP endpoints that accept PUT requests.

HttpToolOptions

Configuration options shared by all HTTP tools.

NetworkConnectivityTool

Test overall network connectivity by checking internet reachability and DNS resolution.

NetworkDnsTool

Perform DNS lookups: resolve hostnames to IP addresses, or reverse-resolve IPs to hostnames.

NetworkInterfacesTool

A built-in tool for listing network interfaces.

Lists all active network interfaces with their addresses, types, speeds, and operational status.

NetworkPingTool

Ping a host to measure latency and check reachability.

NetworkPortCheckTool

Check whether a specific TCP port is open on a remote host.

NetworkPortScanTool

Scan multiple TCP ports on a remote host to find open services.

NetworkToolOptions

Configuration options for network diagnostic tools.

RssFeedToolOptions

Configuration options for RSS feed tools.

RssFetchTool

A built-in tool for fetching and parsing RSS and Atom feeds.

Supports fetching feeds from URLs, parsing raw XML content, and filtering entries by keyword or date.

SmtpSendTool

A built-in tool for sending emails via SMTP.

Enables agents to compose and send email messages with optional CC, BCC, reply-to, priority, and HTML body support.

SmtpTestTool

A built-in tool for testing SMTP connectivity and validating email addresses.

Test SMTP server connections and validate email address format.

SmtpToolOptions

Configuration options for SMTP tools.

WebSearchTool

A built-in tool for performing web searches using various search providers.

Enables agents to search the web for information using DuckDuckGo, Brave Search, SearXNG, Tavily, Serper, or custom search providers.

WebSearchTool.Options

Configuration options for WebSearchTool.

WebSearchTool.RawContentEventArgs

Provides data for the RawContentReceived event.

Contains the full raw HTML or JSON response from the search provider, allowing access to the complete page content before processing.

WebSearchTool.Response

Represents a web search response from WebSearchTool.

WebSearchTool.Result

Represents a single web search result from WebSearchTool.

WebSearchTool.ResultProcessingEventArgs

Provides data for the ResultProcessing event.

Contains the processed result along with the raw (unprocessed) content, allowing inspection or filtering of individual results.

Enums

WebSearchTool.Provider

Specifies the search provider to use with WebSearchTool.

Share