pub struct CortexConfigTool;Expand description
MCP tool: cortex_config.
Schema:
cortex_config() → {
llm_backend: string, // "offline" | "ollama" | "claude" | "openai-compat"
llm_model: string | null,
llm_endpoint: string | null,
embedding_backend: string, // "stub" | "ollama"
embedding_model: string | null,
embedding_endpoint: string | null,
mcp_auto_commit: bool
}Implementations§
Trait Implementations§
Source§impl Debug for CortexConfigTool
impl Debug for CortexConfigTool
Source§impl Default for CortexConfigTool
impl Default for CortexConfigTool
Source§impl ToolHandler for CortexConfigTool
impl ToolHandler for CortexConfigTool
Auto Trait Implementations§
impl Freeze for CortexConfigTool
impl RefUnwindSafe for CortexConfigTool
impl Send for CortexConfigTool
impl Sync for CortexConfigTool
impl Unpin for CortexConfigTool
impl UnsafeUnpin for CortexConfigTool
impl UnwindSafe for CortexConfigTool
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