lsp_code_action
Retrieve quick fixes and refactorings for a selected code range in Scheme files. Returns available code actions from the language server.
Instructions
Get code actions (quick fixes, refactorings) for a range.
Limitation: codeAction is on the scheme-langserver roadmap and may return -32601 "method not found" or behave incompletely.
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": {
"file_path": "<file_path>",
"start_line": "<start_line>",
"start_character": "<start_character>",
"end_line": "<end_line>",
"end_character": "<end_character>"
},
"name": "lsp_code_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_line | Yes | ||
| file_path | Yes | ||
| start_line | Yes | ||
| end_character | Yes | ||
| start_character | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||