embed_texts
Generate embeddings for text inputs and compare up to 12 via a similarity matrix, with options to return raw vectors or save them to JSON.
Instructions
Embed texts. Compact by default: dimensions + a similarity matrix (up to 12 texts).
return_vectors: include raw vectors (large). save_vectors: write vectors to a JSON file.
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": "embed_texts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| texts | Yes | ||
| save_vectors | No | ||
| return_vectors | No |