post_show_model
Retrieve comprehensive model details including family, parameters, context length, and configuration from Ollama.
Instructions
Show detailed information about a model.
This function retrieves detailed information about the specified model
through the Ollama API's /api/show endpoint.
Args:
model (str): Model name, e.g., "llama2" or "mistral"
Returns:
str: JSON-formatted model information including:
- Basic info (family, parameter size, quantization)
- Technical parameters (context length, layer count)
- Configuration (template, system prompt)
- License and modelfile content
If the request fails, returns error information in JSON format.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>"
},
"name": "post_show_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |