NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::ChatMessage Struct Reference

A message in the conversation history. More...

#include <types.h>

Public Attributes

std::string content
 Text content of the message.
 
std::vector< std::string > image_urls
 Base64 data URLs or HTTP URLs for vision support.
 
std::string reasoning
 Provider-returned reasoning text. Keep separate from user-visible content.
 
json reasoning_details = json::array()
 Opaque provider-native continuation blocks replayed only on a compatible route.
 
std::string role
 Message role: "user", "assistant", "tool", or "system".
 
std::string tool_call_id
 ID of the tool call being responded to (role == "tool").
 
std::vector< ToolCall > tool_calls
 Tool calls made by the assistant (if any).
 
std::string tool_name
 Name of the tool being called.
 
std::string tool_status
 Typed terminal status emitted by the shared ToolExecutionController.
 

Detailed Description

A message in the conversation history.

Supports all standard roles (user, assistant, tool, system) and multi-modal content via image_urls for vision-capable models.

Definition at line 39 of file types.h.


The documentation for this struct was generated from the following file: