ollama_embeddings
Converts text prompts into vector embeddings using an Ollama model to power semantic search, similarity comparisons, and retrieval workflows.
Instructions
Generate embeddings 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": {
"prompt": "<prompt>"
},
"name": "ollama_embeddings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model name (must support embeddings) | nomic-embed-text |
| prompt | Yes | Text to generate embeddings for |