lsp_raw_request
Send a raw LSP request to a language server, enabling access to custom methods beyond standard tool offerings. Requires explicit activation via environment variable or runtime configuration.
Instructions
Send a raw LSP request to a language server. Disabled by default — enable via LSP_RAW_REQUEST_ENABLED env var or update_runtime_config. Dangerous methods are always blocked.
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": {
"language": "<language>",
"method": "<method>"
},
"name": "lsp_raw_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | LSP method name (e.g., textDocument/hover). | |
| params | No | LSP request parameters. | |
| language | Yes | Language server to send the request to. |