LanguageModelV4FunctionTool
Namespace: E2E.Decision.Sdk
public sealed record LanguageModelV4FunctionTool : LanguageModelV4Tool, IEquatable<LanguageModelV4Tool>, IEquatable<LanguageModelV4FunctionTool>A tool that has a name, a description, and a JSON schema for its input (LanguageModelV4FunctionTool).
Inheritance: object → LanguageModelV4Tool
Implements: IEquatable<LanguageModelV4Tool>, IEquatable<LanguageModelV4FunctionTool>
Constructors
Section titled “Constructors”LanguageModelV4FunctionTool(string, JsonElement)
Section titled “LanguageModelV4FunctionTool(string, JsonElement)”public LanguageModelV4FunctionTool(string Name, JsonElement InputSchema)A tool that has a name, a description, and a JSON schema for its input (LanguageModelV4FunctionTool).
Parameters
| Name | Type | Description |
|---|---|---|
Name |
string | The name of the tool, unique within a call. |
InputSchema |
JsonElement | The JSON schema of the tool’s input. |
Properties
Section titled “Properties”Description
Section titled “Description”public string? Description { get; init; }A description of the tool, which the model uses to decide when and how to call it.
Value: string
InputExamples
Section titled “InputExamples”public IReadOnlyList<JsonElement>? InputExamples { get; init; }Example inputs of the tool, each a JSON object.
Value: IReadOnlyList<JsonElement>
InputSchema
Section titled “InputSchema”public JsonElement InputSchema { get; init; }The JSON schema of the tool’s input.
Value: JsonElement
public string Name { get; init; }The name of the tool, unique within a call.
Value: string
ProviderOptions
Section titled “ProviderOptions”public IReadOnlyDictionary<string, JsonElement>? ProviderOptions { get; init; }Additional provider-specific options, keyed by provider name.
Value: IReadOnlyDictionary<string, JsonElement>
Strict
Section titled “Strict”public bool? Strict { get; init; }The strict mode setting, for providers that support it.
Value: bool?