tigergraph__get_edge
Retrieve a specific edge from a TigerGraph graph using source vertex, target vertex, and edge type, returning its attributes.
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
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. |