Class EnvironmentSystemTool
A built-in tool for accessing system information and runtime details.
Provides OS information, .NET runtime details, drive information, and basic network connectivity data.
public sealed class EnvironmentSystemTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
EnvironmentSystemTool
- Implements
- Inherited Members
Examples
var tool = new EnvironmentSystemTool();
registry.Register(tool);
Constructors
- EnvironmentSystemTool()
Initializes a new instance with default settings.
- EnvironmentSystemTool(EnvironmentToolOptions)
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.