focus
Retrieve incoming and outgoing dependency edges for a node, including SQL column lineage and optional type-only edges, to inspect architectural relationships.
Instructions
Incoming and outgoing edges of one node with types; sqlglot lineage edges additionally carry columns (from/to pairs), stripped from get_graph/arch_snapshot. Type-only edges excluded unless include_type_only=true. Read-only.
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": {
"node": "<node>"
},
"name": "focus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node path: absolute inside workspace or repo-relative POSIX | |
| limit | No | Max edges per list (default 50, max 200) | |
| max_bytes | No | Response budget in bytes (default 65536, max 1048576) | |
| workspace | No | Workspace path; omitted = discovery from cwd | |
| include_type_only | No | Include type-only edges (default false) |