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

Tool definition metadata sent to the LLM. More...

#include <types.h>

Public Attributes

std::string description
 Human-readable description of what the tool does.
 
std::string name
 Tool name (must be unique within a session).
 
json parameters
 JSON Schema object describing the tool's parameters.
 
std::optional< bool > strict
 OpenAI Responses function-tool strict mode.
 

Detailed Description

Tool definition metadata sent to the LLM.

Describes a callable tool with its name, description, and parameter schema (JSON Schema object) so the LLM can decide when and how to call it.

Definition at line 62 of file types.h.

Member Data Documentation

◆ strict

std::optional<bool> neograph::ChatTool::strict

OpenAI Responses function-tool strict mode.

Unset keeps the SDK policy default, which applies only to strict-compatible parameter schemas. false is sent as given. true on an incompatible schema fails before dispatch. Other families reject true because they cannot send it.

Definition at line 70 of file types.h.


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