tigergraph__get_edge
Retrieve a specific edge from a TigerGraph graph by providing its source vertex, target vertex, and edge type. Use it to check edge attributes or verify that a relationship exists.
Instructions
Get a single edge (relationship) from a TigerGraph graph by specifying source, target, and edge type.
Use When: • Retrieving a specific relationship • Checking edge attributes • Verifying edge was created
Quick Start:
{
"source_vertex_type": "Person",
"source_vertex_id": "user1",
"edge_type": "FOLLOWS",
"target_vertex_type": "Person",
"target_vertex_id": "user2"
}Tips: • Requires full edge specification (source, target, type) • Returns edge attributes if any • Use 'get_neighbors' for simpler neighbor queries
Related Tools: get_edges, has_edge, get_neighbors
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": {
"source_vertex_type": "<source_vertex_type>",
"source_vertex_id": "<source_vertex_id>",
"edge_type": "<edge_type>",
"target_vertex_type": "<target_vertex_type>",
"target_vertex_id": "<target_vertex_id>"
},
"name": "tigergraph__get_edge"
}
}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. | |
| edge_type | Yes | Type of the edge. | |
| graph_name | No | Name of the graph. If not provided, uses default connection. | |
| source_vertex_id | Yes | ID of the source vertex. | |
| target_vertex_id | Yes | ID of the target vertex. | |
| source_vertex_type | Yes | Type of the source vertex. | |
| target_vertex_type | Yes | Type of the target vertex. |