pub struct BundledOverride {
pub name: String,
pub description: Option<String>,
pub hidden: bool,
pub rename: Option<String>,
}Fields§
§name: StringName of the bundled tool to override (e.g. cypher_query,
repo_management). Validation against the downstream
binary’s actual catalogue happens at the consumer’s boot
time — the framework only checks shape here.
description: Option<String>New agent-facing description that replaces the bundled
tool’s default. None means “do not override; keep the
default.”
When true, the downstream consumer should omit this tool
from tools/list AND reject calls to it. Defaults to
false (visible).
rename: Option<String>Per-deployment rename: expose the bundled tool to the agent
under this name instead of its canonical name. None keeps
the canonical name. Lets operators running multiple kglite
servers (each backed by a different graph) disambiguate
otherwise-identical tool surfaces — without rename, an agent
running three servers sees three copies of cypher_query,
each indistinguishable in ToolSearch results. With rename,
the same servers can expose legal_cypher_query,
prospect_cypher_query, open_source_cypher_query.
Must be a valid identifier (^[a-zA-Z_][a-zA-Z0-9_]*$);
validation against duplicates across the manifest’s tools is
the downstream consumer’s responsibility.
Trait Implementations§
Source§impl Clone for BundledOverride
impl Clone for BundledOverride
Source§fn clone(&self) -> BundledOverride
fn clone(&self) -> BundledOverride
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more