Class ProcessKillTool
Terminates a running process by its process ID.
public sealed class ProcessKillTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
ProcessKillTool
- Implements
- Inherited Members
Constructors
- ProcessKillTool()
Initializes a new instance with default settings.
- ProcessKillTool(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.