Table of Contents

Class ShellCommandCallManager

Manages and executes local shell commands that can be called by AI agents.

public class ShellCommandCallManager : ToolCallManager<LocalShellCall, LocalShellOutput>, ILocalShellCallExecutor, IToolCallExecutor<LocalShellCall, LocalShellOutput>
Inheritance
object
ShellCommandCallManager
Implements
Inherited Members

Methods

CanExecute(string)

public bool CanExecute(string key)

Parameters

key string

Returns

bool

ExecuteAsync(LocalShellCall, CancellationToken)

public override UniTask<LocalShellOutput> ExecuteAsync(LocalShellCall call, CancellationToken ct)

Parameters

call LocalShellCall
ct CancellationToken

Returns

UniTask<LocalShellOutput>

ValidateCall(LocalShellCall)

protected override void ValidateCall(LocalShellCall call)

Parameters

call LocalShellCall