Expand description
Typed tools layer built on top of llmoxide.
This crate focuses on:
- Defining tools with typed args/results.
- Converting tool definitions into
llmoxide::ToolSpecschemas. - Executing tool calls returned by providers and sending tool results back.
Structs§
- RunConfig
- Tool
Meta - Tool
Registry - Registry of typed tools, convertible to provider tool schemas.
Traits§
- Tool
Runner - Tool
Runner Stream - Streaming variant: forwards
Event::TextDeltaandEvent::ToolCallwhile running the tool loop. InnerEvent::Completedevents fromClient::streamare suppressed; a singleEvent::Completedis emitted for the final assistant response once the loop finishes. - Tool
Runner Stream Text - Tool
Runner Text
Functions§
- tools_
stream_ debug_ enabled - When
LLMOXIDE_DEBUG_TOOLS_STREAMis1,true, oryes,ToolRunnerStreamlogs diagnostics to stderr (provider, rounds, tool-call counts, response summaries).