svelte_document_symbols
Lists a Svelte component's symbols and their source ranges from a saved file or inline source, so you can inspect structure and navigate code.
Instructions
List the component's symbols and their source ranges.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "svelte_document_symbols"
}
}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. |