get_service_code_graph
Retrieve the complete code subgraph for a Tentra canvas service, including files, symbols, and cross-service dependencies, to analyze code relationships and architecture.
Instructions
Returns the full code subgraph for a Tentra canvas service: files, symbols, and cross-service edges.
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": {
"service_id": "<service_id>",
"snapshot_id": "<snapshot_id>"
},
"name": "get_service_code_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_id | Yes | Tentra canvas service ID | |
| snapshot_id | Yes | Snapshot to query | |
| depth | No | Edge traversal depth for cross-service edges | |
| include_semantics | No | Include AI-extracted purpose + domain tags per symbol |