Class ToolCall
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
A call to a server-side tool (for example Google Search or File Search) made by the model. Returned when IncludeServerSideToolInvocations is true.
public class ToolCall
- Inheritance
-
ToolCall
- Inherited Members
- Extension Methods
Properties
Args
The arguments of the tool call.
[JsonPropertyName("args")]
public JsonNode? Args { get; set; }
Property Value
Id
Unique identifier of the tool call; matches Id.
[JsonPropertyName("id")]
public string? Id { get; set; }
Property Value
ToolType
The type of the server-side tool that was called.
[JsonPropertyName("toolType")]
public ToolType? ToolType { get; set; }