tigergraph__fetch_vector
Retrieve vertices and their vector attributes using GSQL when the REST API cannot fetch vectors. Specify vertex type, IDs, and optional vector attribute to get results.
Instructions
Fetch vertices with their vector data using GSQL PRINT WITH VECTOR. Note: Vector attributes cannot be fetched via REST API.
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": {
"vertex_type": "<vertex_type>",
"vertex_ids": "<vertex_ids>"
},
"name": "tigergraph__fetch_vector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Connection profile name. Omit to use the active default profile. Use 'list_connections' to see available profiles. | |
| graph_name | No | Name of the graph. If not provided, uses default connection. | |
| vertex_ids | Yes | List of vertex IDs to fetch. | |
| vertex_type | Yes | Type of the vertex. | |
| vector_attribute | No | Specific vector attribute to fetch. If not provided, fetches all vectors. |