LanguageModelV4ToolCallPart
Namespace: E2E.Decision.Sdk
public sealed record LanguageModelV4ToolCallPart : LanguageModelV4PromptPart, IEquatable<LanguageModelV4PromptPart>, IEquatable<LanguageModelV4ToolCallPart>Tool call content part of a prompt: a tool call, usually generated by the model.
Inheritance: object → LanguageModelV4PromptPart
Implements: IEquatable<LanguageModelV4PromptPart>, IEquatable<LanguageModelV4ToolCallPart>
Constructors
Section titled “Constructors”LanguageModelV4ToolCallPart(string, string, JsonElement)
Section titled “LanguageModelV4ToolCallPart(string, string, JsonElement)”public LanguageModelV4ToolCallPart(string ToolCallId, string ToolName, JsonElement Input)Tool call content part of a prompt: a tool call, usually generated by the model.
Parameters
| Name | Type | Description |
|---|---|---|
ToolCallId |
string | The ID of the tool call, used to match it with the tool result. |
ToolName |
string | The name of the tool that is being called. |
Input |
JsonElement | The arguments of the tool call: a JSON value that matches the tool’s input schema. |
Properties
Section titled “Properties”public JsonElement Input { get; init; }The arguments of the tool call: a JSON value that matches the tool’s input schema.
Value: JsonElement
ProviderExecuted
Section titled “ProviderExecuted”public bool? ProviderExecuted { get; init; }Whether the provider executes the tool call. When not set or false, the client executes it.
Value: bool?
ToolCallId
Section titled “ToolCallId”public string ToolCallId { get; init; }The ID of the tool call, used to match it with the tool result.
Value: string
ToolName
Section titled “ToolName”public string ToolName { get; init; }The name of the tool that is being called.
Value: string