Table of Contents

Class NetworkPortScanTool

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

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

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

Examples

var tool = new NetworkPortScanTool();
registry.Register(tool);

Constructors

NetworkPortScanTool()

Initializes a new instance with default settings.

NetworkPortScanTool(NetworkToolOptions)

Initializes a new instance with custom 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