ToolError
NexusLabs.Needlr.AgentFramework¶
NexusLabs.Needlr.AgentFramework.Tools¶
ToolError Class¶
Opinionated default error shape — sufficient for most tool functions.
Inheritance System.Object 🡒 ToolError
Implements System.IEquatable<ToolError>
Constructors¶
ToolError(string, string) Constructor¶
Opinionated default error shape — sufficient for most tool functions.
Parameters¶
Message System.String
Human-readable error description sent to the LLM.
Suggestion System.String
Optional hint for the LLM on how to recover or try differently.
Properties¶
ToolError.Message Property¶
Human-readable error description sent to the LLM.
Property Value¶
ToolError.Suggestion Property¶
Optional hint for the LLM on how to recover or try differently.