Skip to content

LanguageModelV4ProviderTool

Namespace: E2E.Decision.Sdk

public sealed record LanguageModelV4ProviderTool : LanguageModelV4Tool, IEquatable<LanguageModelV4Tool>, IEquatable<LanguageModelV4ProviderTool>

A tool that is built into a provider (LanguageModelV4ProviderTool).

Inheritance: object → LanguageModelV4Tool

Implements: IEquatable<LanguageModelV4Tool>, IEquatable<LanguageModelV4ProviderTool>

View source

LanguageModelV4ProviderTool(string, string, JsonElement)

Section titled “LanguageModelV4ProviderTool(string, string, JsonElement)”
public LanguageModelV4ProviderTool(string Id, string Name, JsonElement Args)

A tool that is built into a provider (LanguageModelV4ProviderTool).

Parameters

Name Type Description
Id string The ID of the tool, in the format {provider}.{unique-tool-name}.
Name string The name of the tool, unique within a call.
Args JsonElement The arguments of the tool, a JSON object.

public JsonElement Args { get; init; }

The arguments of the tool, a JSON object.

Value: JsonElement

public string Id { get; init; }

The ID of the tool, in the format {provider}.{unique-tool-name}.

Value: string

public string Name { get; init; }

The name of the tool, unique within a call.

Value: string