Generate a text embedding
forcedream_generate_embeddingGenerate a real 1024-dim vector embedding for text via Voyage voyage-3.5, retrieval-optimised. Returns the vector, dimensions, token count, WORM-sealed. Requires authentication (per-token charge).
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": "forcedream_generate_embedding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to embed (max ~32000 chars). | |
| input_type | No | Optional: "query" or "document". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokens | No | ||
| embedding | Yes | ||
| worm_seal | No | ||
| cost_pence | No | ||
| dimensions | Yes |