svelte_references
Find all project references to a symbol at a specified position in Svelte components or files, helping you track usage and safely refactor code.
Instructions
Find project references to the symbol at a position.
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": {
"position": "<position>"
},
"name": "svelte_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to a saved .svelte component inside the workspace. Relative paths start at the workspace root. | |
| source | No | Full Svelte component source. Supply source or file. Source uses the bundled Svelte runtime. | |
| position | Yes | ||
| includeDeclaration | No |