llmoxide-tools
Tool-calling runner for llmoxide.
This crate provides:
- A
ToolRegistryfor registering JSON-schema’d tools (args + return types) - A portable tool execution loop:
run_with_tools_textrun_with_tools_stream_text(streamingEvent::TextDelta/Event::ToolCallcallbacks)
Example
See crates/llmoxide-tools/examples/add_tool.rs and crates/llmoxide-tools/examples/add_tool_stream.rs
in the repository.
Debugging
LLMOXIDE_DEBUG_TOOLS_STREAM=1enables stderr diagnostics for the tool runner.