get_ollama_list
Retrieve a list of all available models in your Ollama server, including pulled models and their tags, by querying the API's /api/tags endpoint.
Instructions
List all available models in the Ollama server.
This tool queries the Ollama API's /api/tags endpoint to retrieve information about
all available models, including both pulled models and their different tags.
Args:
None: This function does not require any parameters.
Returns:
str: JSON-formatted string containing:
- List of available models with their details if successful
- Error details if the request fails or response format is invalid
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_ollama_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |