Module registry

Module registry 

Source
Expand description

Tool Registry

Provides an authoritative, deterministic inventory of Gestura’s built-in tools. This is used by interactive agent commands (e.g. /tools) and for answering common “what tools do you have” questions without relying on an LLM response.

Note: This registry is intentionally static and does not depend on the gestura-core facade’s AppConfig. Dynamic, configuration-dependent capability rendering lives in the gestura-core facade crate.

Structs§

ToolDefinition
A single tool definition.

Functions§

all_tools
Return the set of built-in tools.
code_tool_names
Canonical built-in code tool names, including the legacy aggregate code entry and the newer split code tools.
find_tool
Find a tool definition by name (case-insensitive).
is_code_tool_name
Return whether a tool name belongs to the code tool family.
looks_like_capabilities_question
Heuristic: decide whether a user message is asking for full capabilities/config.
looks_like_tools_question
Heuristic: decide whether a user message is asking for a tool inventory.
render_tool_detail
Render a detailed tool description.
render_tools_overview
Render a compact table of built-in tools (static, no config needed).