get_running_models
Queries the Ollama API to list all running models with their details, including size and status, for monitoring active sessions.
Instructions
Get the status of currently running Ollama models.
This tool queries the Ollama API's /api/ps endpoint to retrieve information about running models,
similar to the 'ollama ps' command. It validates the response format and provides formatted output.
Args:
None: This function does not require any parameters.
Returns:
str: JSON-formatted string containing:
- List of running models with their details if successful
- Error details if the request fails or response format is invalid
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |