LocalShellAgentToolExecutionAction Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Execute a shell command on the server.
public class LocalShellAgentToolExecutionAction : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.OpenAI.LocalShellAgentToolExecutionAction>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.OpenAI.LocalShellAgentToolExecutionAction>
type LocalShellAgentToolExecutionAction = class
interface IJsonModel<LocalShellAgentToolExecutionAction>
interface IPersistableModel<LocalShellAgentToolExecutionAction>
Public Class LocalShellAgentToolExecutionAction
Implements IJsonModel(Of LocalShellAgentToolExecutionAction), IPersistableModel(Of LocalShellAgentToolExecutionAction)
- Inheritance
-
LocalShellAgentToolExecutionAction
- Implements
Constructors
| Name | Description |
|---|---|
| LocalShellAgentToolExecutionAction(IEnumerable<String>, IDictionary<String,String>) |
Initializes a new instance of LocalShellAgentToolExecutionAction. |
Properties
| Name | Description |
|---|---|
| Command |
The command to run. |
| Env |
Environment variables to set for the command. |
| TimeoutMs |
Optional timeout in milliseconds for the command. |
| User |
Optional user to run the command as. |
| WorkingDirectory |
Optional working directory to run the command in. |