Completions at a source offset
completeList the completion items in scope at a source byte offset: keywords, element names, ids and enum values, the same items an editor's language server offers. For structured or assisted authoring.
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": {
"source": "<source>",
"at": "<at>"
},
"name": "complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | Source byte offset to complete at. | |
| source | Yes | ArchLang source. |