Skip to content

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>

View source

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.

public LanguageModelV4ToolResultOutput Output { get; init; }

The result of the tool call.

Value: LanguageModelV4ToolResultOutput

public string ToolCallId { get; init; }

The ID of the tool call this result belongs to.

Value: string

public string ToolName { get; init; }

The name of the tool that generated the result.

Value: string