Table of Contents

Class Message.ToolCall

Namespace
OllamaSharp.Models.Chat
Assembly
OllamaSharp.dll

Represents a tool call within a message.

public class Message.ToolCall
Inheritance
Message.ToolCall
Inherited Members

Properties

Function

Gets or sets the function to be called by the tool.

[JsonPropertyName("function")]
public Message.Function? Function { get; set; }

Property Value

Message.Function

Id

Gets or sets the ID of the ToolCall.

[JsonPropertyName("id")]
public string? Id { get; set; }

Property Value

string