List LLM Models (`list_llm_models`)
Return the list of available models for the current LLM provider
(Ollama, Anthropic, or OpenAI‑compatible), so a client UI can offer a
model picker before calling ai_chat with its optional model argument.
{ "method": "tools/call", "params": { "name": "list_llm_models", "arguments": {} }}Parameters
Section titled “Parameters”None. The tool reads the same environment variables as get_llm_status.
Response
Section titled “Response”{ "provider": "ollama", "models": [ { "name": "llama3.2:latest" }, { "name": "mistral:latest" } ]}- For
"ollama", the list comes fromGET {host}/api/tagsand reflects the models actually installed on that server (empty if unreachable). - For
"anthropic"and"openai_compatible", a short hardcoded list of popular models is returned. - For
"none",modelsis empty.
- Takes no
session_id— provider configuration is server‑wide, not per‑session. - Read‑only; no chat or completion calls are made.