gemini_embed
Generate text embeddings for semantic similarity, retrieval, and classification tasks using a Gemini embedding model.
Instructions
Generate text embeddings using a Gemini embedding 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": {
"text": "<text>"
},
"name": "gemini_embed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to generate embeddings for | |
| model | No | Embedding model to use (default: gemini-embedding-001) |