Agents 1.4.0
Edge AI Agents SDK
Loading...
Searching...
No Matches
agents::ToolResult Struct Reference

Result of a tool execution. More...

#include <tool.h>

Inheritance diagram for agents::ToolResult:
agents::ToolError

Public Attributes

bool success
 Whether the tool execution was successful.
std::string content
 The content of the tool result.
JsonObject data
 The data of the tool result.

Detailed Description

Result of a tool execution.

Note
This is the result of a tool execution. It contains the success of the execution, the content of the result, and the data of the result.
Examples
actor_agent_example.cpp, autonomous_agent_example.cpp, and routing_example.cpp.