ollama_show_model
Retrieve detailed metadata for installed Ollama models to inspect architecture, license, quantization, and parameters before use.
Instructions
Retrieve detailed metadata about a specific installed Ollama model. Use this tool to inspect a model's architecture, license, quantization level, prompt template, and default parameters before using it with ollama_chat or ollama_generate. Do not use this to list all models — use ollama_list_models instead. Do not use this to download new models — use ollama_pull_model instead. Prerequisites: The model must already be installed locally (verify with ollama_list_models). Behavior: Read-only, idempotent, safe to retry. No authentication required. No rate limits. Returns the same metadata for the same model every time. On model-not-found error, returns an error object without throwing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Exact Ollama model identifier to inspect (e.g., 'llama3.1:8b', 'mistral:latest'). Must match a 'name' from ollama_list_models output. If unsure which models are installed, call ollama_list_models first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelfile | No | The full Modelfile content defining this model's configuration. | |
| parameters | No | Runtime parameter defaults (e.g., temperature, context length) as a formatted string. | |
| template | No | Go template string used for prompt formatting. | |
| details | No | Model architecture details. | |
| error | No | Error message if the model was not found. Only present on failure. |