svelte_completions
Lists Svelte code completion suggestions at a cursor position in saved .svelte files or supplied source, with offset and limit controls for paging results.
Instructions
List completion suggestions at the cursor. Use offset and limit to page through the result.
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_completions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to a saved .svelte component inside the workspace. Relative paths start at the workspace root. | |
| limit | No | ||
| offset | No | ||
| source | No | Full Svelte component source. Supply source or file. Source uses the bundled Svelte runtime. | |
| position | Yes |