Get component graph
get_graphReturns the complete component dependency graph for a Svelte project, showing every component and route with import links and unused flags.
Instructions
Return the full Svelte component dependency graph for a project: every component/route node (workspace-relative path id + display label + type + unused flag) and every import link.
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": {
"root": "<root>"
},
"name": "get_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Absolute path to the SvelteKit/Svelte project root to analyze. |