graph
Traces incoming and outgoing dependencies from any entity so you can see what calls or extends it and what it relies on, with configurable depth and edge-type filters.
Instructions
Navigates the dependency graph from a starting entity. Shows incoming/outgoing relationships with configurable depth and edge type filters.
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": {
"entity_id": "<entity_id>"
},
"name": "graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | Traversal direction. Default: both | |
| entity_id | Yes | Starting entity ID | |
| max_depth | No | Maximum traversal depth. Default: 2 | |
| edge_types | No | Filter by relationship types (e.g., ["calls", "extends"]) | |
| token_budget | No | Max tokens. Default: 1500 | |
| include_unresolved | No | Include unresolved edges. Default: false |