Skip to main content

Crate neuron_tool

Crate neuron_tool 

Source
Expand description

Tool interface and registry for neuron.

Defines the ToolDyn trait for object-safe tool abstraction and ToolRegistry for managing collections of tools. Any tool source (local function, MCP server, HTTP endpoint) implements ToolDyn.

Structs§

AliasedTool
A tool wrapper that exposes a different name while delegating behavior to an inner tool.
ToolRegistry
Registry of tools available to a turn.

Enums§

ToolConcurrencyHint
Concurrency hint for tool scheduling.
ToolError
Errors from tool operations.

Traits§

ToolDyn
Object-safe trait for tool implementations.
ToolDynStreaming
Optional streaming interface for tools.