Skip to main content

Module tools

Module tools 

Source
Expand description

RLM REPL operations expressed as tool definitions.

When FunctionGemma is active the RLM loop sends these definitions alongside the analysis prompt. The primary LLM (or FunctionGemma after reformatting) returns structured ContentPart::ToolCall entries that are dispatched here instead of being regex-parsed from code blocks.

Each tool mirrors a command in the existing DSL REPL (head, tail, grep, count, llm_query, FINAL).

Enums§

RlmToolResult
Result of dispatching an RLM tool call.

Functions§

dispatch_tool_call
Dispatch a structured tool call against the REPL.
rlm_tool_definitions
All RLM REPL operations as tool definitions.