check_ollama
Confirm that the Ollama backend is running and the configured chat and embedding models are installed, to avoid errors when using semantic search or symbol explanation.
Instructions
Check whether the LLM backend is running and the configured embedding/chat model is installed.
Read-only: yes. No side effects. Call before smart_search, semantic_search, or explain_symbol (when on-demand fallback is expected — pre-computed analysis returns instantly without the LLM backend).
Args: project_root: Project root. Auto-detected if omitted. Ignored by this tool.
Returns: dict: {ollama_enabled (bool), status (str — "ok"|"disabled"|"error"|"model_missing"), ollama_running (bool), ollama_url (str), configured_model (str), num_ctx (int), installed_models (list[str]), configured_embed_model (str), embedding_installed (bool), message (str, on error/disabled), available_code_models (list[str], when model missing), debug_log (str, optional — only when debug logging is enabled)}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_root | No | Project root. Auto-detected if omitted. Ignored by this tool. |