neuron-tool
Tool interface and registry for neuron agents
Overview
neuron-tool provides the Tool trait and ToolRegistry that operators use to expose callable
functions to LLMs. Tools are described via JSON Schema, invoked with JSON arguments, and return
JSON results.
ToolRegistry → serialized to tool_list → sent to model → model emits tool_call
→ ToolRegistry::call(name, args) → Tool::invoke → result back to model
Usage
[]
= "0.4"
= "1"
Defining a tool
use ;
use ;
;
Registering tools
use ToolRegistry;
let mut registry = new;
registry.register;
Part of the neuron workspace
neuron is a composable async agentic AI framework for Rust. See the book for architecture and guides.