LanguageModelV4ToolResultPart
Namespace: E2E.Decision.Sdk
public sealed record LanguageModelV4ToolResultPart : LanguageModelV4PromptPart, IEquatable<LanguageModelV4PromptPart>, IEquatable<LanguageModelV4ToolResultPart>Tool result content part of a prompt: the result of the tool call with the matching ID.
Inheritance: object → LanguageModelV4PromptPart
Implements: IEquatable<LanguageModelV4PromptPart>, IEquatable<LanguageModelV4ToolResultPart>
Constructors
Section titled “Constructors”LanguageModelV4ToolResultPart(string, string, LanguageModelV4ToolResultOutput)
Section titled “LanguageModelV4ToolResultPart(string, string, LanguageModelV4ToolResultOutput)”public LanguageModelV4ToolResultPart(string ToolCallId, string ToolName, LanguageModelV4ToolResultOutput Output)Tool result content part of a prompt: the result of the tool call with the matching ID.
Parameters
| Name | Type | Description |
|---|---|---|
ToolCallId |
string | The ID of the tool call this result belongs to. |
ToolName |
string | The name of the tool that generated the result. |
Output |
LanguageModelV4ToolResultOutput | The result of the tool call. |
Properties
Section titled “Properties”Output
Section titled “Output”public LanguageModelV4ToolResultOutput Output { get; init; }The result of the tool call.
Value: LanguageModelV4ToolResultOutput
ToolCallId
Section titled “ToolCallId”public string ToolCallId { get; init; }The ID of the tool call this result belongs to.
Value: string
ToolName
Section titled “ToolName”public string ToolName { get; init; }The name of the tool that generated the result.
Value: string