FunctionToolCallItemParam 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 call to run a function. See the function calling guide for more information.
public class FunctionToolCallItemParam : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemParam, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.FunctionToolCallItemParam>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.FunctionToolCallItemParam>
type FunctionToolCallItemParam = class
inherit ItemParam
interface IUtf8JsonSerializable
interface IJsonModel<FunctionToolCallItemParam>
interface IPersistableModel<FunctionToolCallItemParam>
Public Class FunctionToolCallItemParam
Inherits ItemParam
Implements IJsonModel(Of FunctionToolCallItemParam), IPersistableModel(Of FunctionToolCallItemParam)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| FunctionToolCallItemParam() |
Initializes a new instance of FunctionToolCallItemParam for deserialization. |
| FunctionToolCallItemParam(ItemType, IDictionary<String,BinaryData>, String, String, String) |
Initializes a new instance of FunctionToolCallItemParam. |
| FunctionToolCallItemParam(String, String, String) |
Initializes a new instance of FunctionToolCallItemParam. |
Properties
| Name | Description |
|---|---|
| Arguments |
A JSON string of the arguments to pass to the function. |
| CallId |
The unique ID of the function tool call generated by the model. |
| Name |
The name of the function to run. |
| SerializedAdditionalRawData | (Inherited from ItemParam) |
| Type |
Gets or sets the type. (Inherited from ItemParam) |
Methods
| Name | Description |
|---|---|
| DeserializeFunctionToolCallItemParam(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |