pub enum ToolSpec {
Cypher(CypherTool),
Python(PythonTool),
Bundled(BundledOverride),
}Variants§
Cypher(CypherTool)
Python(PythonTool)
Bundled(BundledOverride)
Override the agent-facing surface of a bundled tool (one the
downstream binary provides natively — cypher_query,
graph_overview, read_source, etc.). The framework parses
the override but does not enforce that the named tool exists;
the downstream consumer (e.g. kglite-mcp-server) is
responsible for validating the name against its bundled
catalogue at boot time and applying the override when
emitting tools/list.
Pre-0.3.31 the only customisation path for the bundled tool
surface was the manifest’s global instructions: block —
useful for first-message orientation but not attached to
individual tools. Bundled overrides let operators rewrite a
specific tool’s description (what the agent sees in
tools/list) or hidden-flag it out entirely.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolSpec
impl RefUnwindSafe for ToolSpec
impl Send for ToolSpec
impl Sync for ToolSpec
impl Unpin for ToolSpec
impl UnsafeUnpin for ToolSpec
impl UnwindSafe for ToolSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more