# Ollama Tool Calling

**Creator:** Ollama  |  **Category:** tool-use  |  **Status:** stable

## Description

Local-first tool calling protocol layered on top of Ollama's REST API. Supports function definitions compatible with OpenAI-style tool calls for models running on-device (Llama 3.1+, Qwen2.5+, Mistral Nemo+).

## Key Features

- OpenAI-compatible tool format
- Local model execution
- Streaming tool calls
- JSON Schema parameters
- Model-side parsing
- Works with Llama 3.1+, Qwen2.5+, Mistral Nemo+
- Python + JS clients

## Resources

- [Website](https://ollama.com)
- [Specification](https://github.com/ollama/ollama/blob/main/docs/api.md#tools)
- [GitHub](https://github.com/ollama/ollama)

---
*Source: agentprotocols.app — /protocol/ollama-tool-calling*