ollama_embeddings
Generate text embeddings with a specified Ollama model to enable semantic search, clustering, and similarity comparisons.
Instructions
Generate embeddings for text using an Ollama model.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>",
"input": "<input>"
},
"name": "ollama_embeddings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The text to generate embeddings for | |
| model | Yes | The model to use for embeddings (e.g., 'nomic-embed-text', 'mxbai-embed-large') |