Table of Contents

Class SmtpTestTool

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

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

Test SMTP server connections and validate email address format.

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

Examples

var tool = new SmtpTestTool(new SmtpToolOptions
{
    Host = "smtp.example.com",
    Port = 587,
    UseSsl = true
});
registry.Register(tool);

Constructors

SmtpTestTool(SmtpToolOptions)

Initializes a new instance with the specified options.

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.

Share