Table of Contents

Class ProcessRunTool

Namespace
LMKit.Agents.Tools.BuiltIn.IO
Assembly
LM-Kit.NET.dll

Executes a program with arguments and captures its output.

Use AllowedCommands to restrict which programs can be launched.

public sealed class ProcessRunTool : IBuiltInTool, ITool, IToolMetadata
Inheritance
ProcessRunTool
Implements
Inherited Members

Constructors

ProcessRunTool()

Initializes a new instance with default settings.

ProcessRunTool(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.

Share