Class NetworkPingTool
Ping a host to measure latency and check reachability.
public sealed class NetworkPingTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
NetworkPingTool
- Implements
- Inherited Members
Examples
var tool = new NetworkPingTool();
registry.Register(tool);
Constructors
- NetworkPingTool()
Initializes a new instance with default settings.
- NetworkPingTool(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.