NexusLabs.Needlr.AgentFramework.Tools
NexusLabs.Needlr.AgentFramework¶
NexusLabs.Needlr.AgentFramework.Tools Namespace¶
| Classes | |
|---|---|
| ToolError | Opinionated default error shape — sufficient for most tool functions. |
| ToolResult | Static factory providing shorthand constructors for ToolResult<TValue,TError> using the default ToolError shape. |
| Structs | |
|---|---|
| ToolResult<TValue,TError> | Standard return type for [AgentFunction] methods providing two separate channels: one for the LLM (structured JSON, never a raw stack trace) and one for C# (full exception context and retry signal). |
| Interfaces | |
|---|---|
| IToolResult | Non-generic marker interface for inspecting any ToolResult<TValue,TError> without knowing its type arguments at compile time. |