close_document
Close a file in the LSP server to free up resources and reduce memory usage. Use when done analyzing a file to optimize long-running sessions.
Instructions
Close a file in the LSP server. Use this tool when you're done with a file to free up resources and reduce memory usage. It's good practice to close files that are no longer being actively analyzed, especially in long-running sessions or when working with large codebases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the file to close |