Class ToolResponse
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
The result of a server-side tool call. Returned when IncludeServerSideToolInvocations is true.
public class ToolResponse
- Inheritance
-
ToolResponse
- Inherited Members
- Extension Methods
Properties
Id
Identifier of the tool call this response belongs to.
[JsonPropertyName("id")]
public string? Id { get; set; }
Property Value
Response
The tool's response.
[JsonPropertyName("response")]
public JsonNode? Response { get; set; }
Property Value
ToolType
The type of the server-side tool that produced the response.
[JsonPropertyName("toolType")]
public ToolType? ToolType { get; set; }