Class ProcessShellTool
Executes a shell command (cmd.exe on Windows, /bin/sh on Linux/macOS).
public sealed class ProcessShellTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
ProcessShellTool
- Implements
- Inherited Members
Constructors
- ProcessShellTool()
Initializes a new instance with default settings.
- ProcessShellTool(ProcessToolOptions)
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.