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

Copyable owner of a fixed collection of tools. More...

#include <tool_set.h>

Public Member Functions

ToolSet select (std::vector< Tool * > tools) const
 Retain ownership while exposing only a node's authorized subset.
 

Detailed Description

Copyable owner of a fixed collection of tools.

Copies share ownership of the exact same pointees. Only an owned ToolSet can enter NodeContext; view() is a temporary raw lookup for node factories. Empty sets do not allocate. A compiled graph and its engine each retain their own copy, so neither depends on the original context's lifetime.

Definition at line 21 of file tool_set.h.


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