NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
tool.h File Reference

Abstract tool interface for callable functions. More...

#include <neograph/api.h>
#include <neograph/types.h>
#include <asio/awaitable.hpp>
#include <string>
Include dependency graph for tool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  neograph::AsyncTool
 Adapter base class for tools whose work is naturally coroutine-shaped (HTTP fetch, MCP RPC, async DB query). More...
 
class  neograph::Tool
 Abstract base class for tools that agents can call. More...
 

Detailed Description

Abstract tool interface for callable functions.

Defines the Tool base class. Implement this to create tools that LLM agents can discover and invoke during the ReAct loop.

Definition in file tool.h.