Table of Contents

Class ProcessToolOptions

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

Configuration options shared by all process tools.

public sealed class ProcessToolOptions
Inheritance
ProcessToolOptions
Inherited Members

Examples

Restricting process tools to a tight allow-list:

using LMKit.Agents.Tools.BuiltIn.IO;

var options = new ProcessToolOptions { AllowedCommands = new HashSet<string> { "git", "dotnet" } };

Properties

AllowedCommands

Gets or sets allowed commands. Null or empty allows all.

MaxListProcesses

Gets or sets maximum processes to list. Default is 100.

MaxOutputSize

Gets or sets maximum output size in characters. Default is 100KB.

Share