OpenRouter Text Embeddings
View schema →
openrouter.embeddingsGenerate dense vector embeddings for text or batches of strings via OpenRouter embedding models.
Tool ID: cohere.embed
Generate 1024-dimensional dense float embeddings for documents or search queries via Cohere Embed v3.
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Required | Cohere embedding model (default 'embed-english-v3.0') |
texts | array | Required | Array of texts to embed |
input_type | string (search_document | search_query | classification | clustering) | Required | Embedding input type (default 'search_document') |
curl -X POST https://helve.dev/v1/tools/call \
-H "Authorization: Bearer sk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"tool_id": "cohere.embed",
"arguments": {
"model": "embed-english-v3.0",
"texts": [
"metered AI agent tools"
],
"input_type": "search_document"
}
}'
call_tool){
"name": "call_tool",
"arguments": {
"tool_id": "cohere.embed",
"arguments": {
"model": "embed-english-v3.0",
"texts": [
"metered AI agent tools"
],
"input_type": "search_document"
}
}
}
openrouter.embeddingsGenerate dense vector embeddings for text or batches of strings via OpenRouter embedding models.