include_declaration
Whether to include the declaration (optional, default: true)
How to use it
include_declaration is exposed by the Cclsp MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the include_declaration tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Cclsp
npx cclsp@latest setupOther tools in Cclsp (14)
The character position in the line (1-indexed)
If true, only preview the changes without applying them (optional, default: false)
Array of file extensions to restart servers for (e.g., ["ts", "tsx"]). If not provided, all servers will be restarted (optional)
The path to the file
Find the definition of a symbol by name and kind in a file. Returns definitions for all matching symbols.
Find all references to a symbol across the entire workspace. Returns references for all matching symbols.
Get language diagnostics (errors, warnings, hints) for a file. Uses LSP textDocument/diagnostic to pull current diagnostics.
The line number (1-indexed)
The new name for the symbol
Rename a symbol by name and kind in a file. This tool now applies the rename to all affected files by default. If multiple symbols match, returns candidate positions and suggests using renamesymbolstrict.
Rename a symbol at a specific position in a file. Use this when renamesymbol returns multiple candidates. This tool now applies the rename to all affected files by default.
Manually restart LSP servers. Can restart servers for specific file extensions or all running servers.
The kind of symbol (function, class, variable, method, etc.) (optional)
The name of the symbol