LocalShellTool 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.
A tool that allows the model to execute shell commands in a local environment.
public class LocalShellTool : Azure.AI.AgentServer.Contracts.Generated.OpenAI.Tool, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellTool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.LocalShellTool>
type LocalShellTool = class
inherit Tool
interface IUtf8JsonSerializable
interface IJsonModel<LocalShellTool>
interface IPersistableModel<LocalShellTool>
Public Class LocalShellTool
Inherits Tool
Implements IJsonModel(Of LocalShellTool), IPersistableModel(Of LocalShellTool)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| LocalShellTool() |
Initializes a new instance of LocalShellTool. |
| LocalShellTool(ToolType, IDictionary<String,BinaryData>) |
Initializes a new instance of LocalShellTool. |
Properties
| Name | Description |
|---|---|
| Type |
Gets or sets the type. (Inherited from Tool) |
Methods
| Name | Description |
|---|---|
| DeserializeLocalShellTool(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |