# Ollama

Run large language models locally or in the cloud with Ollama

- **Category:** ai models
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 8
- **Triggers:** 0
- **Slug:** `OLLAMA`
- **Version:** 20260407_00

## Tools

### Chat with Ollama model

**Slug:** `OLLAMA_CHAT`

Tool to send a chat message with conversation history to Ollama. Use when you need to have a multi-turn conversation with an LLM model.

### Generate Text with Ollama

**Slug:** `OLLAMA_GENERATE`

Tool to generate text responses from Ollama models with optional raw mode. Use raw=true to bypass prompt templating when you need full control over the prompt for debugging or custom processing. Note that raw mode will not return a context.

### List Models

**Slug:** `OLLAMA_LIST_MODELS`

Tool to list all available Ollama models and their details. Use when you need to fetch installed models with metadata including name, size, last modified timestamp, digest, and format information.

### OpenAI-Compatible Chat Completion

**Slug:** `OLLAMA_OPEN_AI_CHAT_COMPLETIONS`

Tool to create OpenAI-compatible chat completions using Ollama models. Use when you need conversational AI responses with OpenAI API format compatibility.

### OpenAI-Compatible Text Completion

**Slug:** `OLLAMA_OPEN_AI_COMPLETIONS`

Tool to create OpenAI-compatible text completions using Ollama models. Use when you need text generation with OpenAI API format compatibility beyond chat-based interactions.

### List Models (OpenAI Compatible)

**Slug:** `OLLAMA_OPEN_AI_LIST_MODELS`

Tool to list available models using OpenAI-compatible API format. Use when you need to retrieve locally available Ollama models with metadata following OpenAI's model list format.

### Show Model Information

**Slug:** `OLLAMA_SHOW`

Tool to show comprehensive information about an Ollama model. Use when you need to retrieve model details, parameters, template, license, or system prompt.

### Get Ollama Version

**Slug:** `OLLAMA_VERSION`

Tool to get the version of Ollama running locally. Use to check which version of Ollama is currently installed.
