IntelligenceX
Class

ToolCall

Namespace IntelligenceX.OpenAI.Tools
Assembly IntelligenceX
Modifiers sealed

Represents a tool call requested by the model.

Inheritance

  • Object
  • ToolCall

Constructors

public ToolCall(String callId, String name, String input, JsonObject arguments, JsonObject raw) #

Initializes a new tool call instance.

Parameters

callId System.String
name System.String
input System.String
arguments IntelligenceX.Json.JsonObject
raw IntelligenceX.Json.JsonObject

Properties

public String CallId { get; } #

Gets the tool call identifier.

public String Name { get; } #

Gets the tool name.

public String Input { get; } #

Gets the raw input string.

public JsonObject Arguments { get; } #

Gets the parsed argument object when available.

public JsonObject Raw { get; } #

Gets the raw JSON payload.