cohere_embed
Create vector embeddings for any text using Cohere models. Supports search document, search query, classification, and clustering input types.
Instructions
Create vector embeddings for text using Cohere's embed models.
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": {
"texts": "<texts>"
},
"name": "cohere_embed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Embed model (default: embed-english-v3.0) | |
| texts | Yes | JSON array of strings to embed | |
| api_key | No | ||
| input_type | No | search_document, search_query, classification, clustering |