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
-
objectShellCommandCallManager
- Implements
- Inherited Members
Methods
CanExecute(string)
public bool CanExecute(string key)
Parameters
keystring
Returns
- bool
ExecuteAsync(LocalShellCall, CancellationToken)
public override UniTask<LocalShellOutput> ExecuteAsync(LocalShellCall call, CancellationToken ct)
Parameters
callLocalShellCallctCancellationToken
Returns
- UniTask<LocalShellOutput>
ValidateCall(LocalShellCall)
protected override void ValidateCall(LocalShellCall call)
Parameters
callLocalShellCall