Class NetworkInterfacesTool
A built-in tool for listing network interfaces.
Lists all active network interfaces with their addresses, types, speeds, and operational status.
public sealed class NetworkInterfacesTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
NetworkInterfacesTool
- Implements
- Inherited Members
Examples
var tool = new NetworkInterfacesTool();
registry.Register(tool);
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.