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§
- Tool
Definition - 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
codeentry 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).