ToolCall


Object Hierarchy:

Object hierarchy for ToolCall

Description:

public class ToolCall : Object, Serializable

Represents a tool call from the assistant. Used in assistant messages with tool_calls array.

JSON example handled by this class:

{

"id": "call_123",

"function": {

"name": "read_file",

"arguments": {

"file_path": "src/Example.vala",

"encoding": "utf-8"

}

}

}

This appears as an element in the "tool_calls" array within an assistant message.


Namespace: OLLMchat.Response
Package: ollmchat

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object
All known members inherited from interface Json.Serializable