lsp_start_session
Initiate a clangd LSP session for static analysis of C++ code, providing the project root and optional compile_commands.json for accurate diagnostics.
Instructions
Start a clangd LSP session for static analysis of C++ code.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_root | Yes | Root directory of the C++ project. | |
| compile_commands_dir | No | Directory containing compile_commands.json (optional, improves accuracy). |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |