|
Agents 1.4.0
Edge AI Agents SDK
|
A ToolResult that represents a failure. More...
#include <tool.h>
Public Member Functions | |
| ToolError (const JsonObject &error) | |
| Construct a new ToolError object. | |
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. | |
A ToolResult that represents a failure.
|
inline |
Construct a new ToolError object.
| error | The error data |