pub struct CortexModelsListTool;Expand description
MCP tool: cortex_models_list.
Schema:
cortex_models_list(backend?: "ollama" | "openai-compat")
→ { backend: string, endpoint: string, models: [{name, size_bytes?, configured_for: [string]}] }
| { models: [], note: string } // when no backend is configuredImplementations§
Trait Implementations§
Source§impl Debug for CortexModelsListTool
impl Debug for CortexModelsListTool
Source§impl Default for CortexModelsListTool
impl Default for CortexModelsListTool
Source§impl ToolHandler for CortexModelsListTool
impl ToolHandler for CortexModelsListTool
Auto Trait Implementations§
impl Freeze for CortexModelsListTool
impl RefUnwindSafe for CortexModelsListTool
impl Send for CortexModelsListTool
impl Sync for CortexModelsListTool
impl Unpin for CortexModelsListTool
impl UnsafeUnpin for CortexModelsListTool
impl UnwindSafe for CortexModelsListTool
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