tigergraph__get_node_degree
Count the number of connected edges for a specified node in a TigerGraph graph, with optional filtering by edge direction or type.
Instructions
Get the degree (number of connected edges) of a node in a TigerGraph graph.
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_id": "<vertex_id>"
},
"name": "tigergraph__get_node_degree"
}
}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. | |
| direction | No | Direction of edges: 'outgoing', 'incoming', or 'both'. | both |
| edge_type | No | Type of edges to count. If not provided, counts all edge types. | |
| vertex_id | Yes | ID of the vertex. | |
| graph_name | No | Name of the graph. If not provided, uses default connection. | |
| vertex_type | Yes | Type of the vertex. |