Method ExecHostCommandAsync
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
ExecHostCommandAsync(string, int?, CancellationToken)
Runs one foreground command directly on the host. Approval is required by default.
[ToolNetworkScope(NetworkScope.Incidental)]
public Task<object> ExecHostCommandAsync(string command, int? timeoutSeconds = null, CancellationToken cancellationToken = default)Parameters
commandstringtimeoutSecondsint?cancellationTokenCancellationToken