set_vector_in_hash
Save a numeric vector as a field in a Redis hash, enabling vector storage for similarity searches.
Instructions
Store a vector as a field in a Redis hash.
Args: name: The Redis hash key. vector_field: The field name inside the hash. Unless specifically required, use the default field name vector: The vector (list of numbers) to store in the hash.
Returns: True if the vector was successfully stored, False otherwise.
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": {
"name": "<name>",
"vector": "<vector>"
},
"name": "set_vector_in_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| vector | Yes | ||
| vector_field | No | vector |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |