get_ollama_version
Retrieve the Ollama server version by querying the /api/version endpoint. Use to verify the service is active and obtain version information.
Instructions
Get the version information of the Ollama server.
This tool queries the Ollama API's /api/version endpoint to retrieve the server version.
It's useful for checking if the Ollama service is running and verifying its version.
Args:
None: This function does not require any parameters.
Returns:
str: JSON-formatted string containing:
- Version information if successful
- Error details if the request fails
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |