Skip to content

Commit 1ad309f

Browse files
1 parent 7698a99 commit 1ad309f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

reference/mcp/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,8 @@ <h3 id="find_dead_code"><code>find_dead_code</code></h3>
791791
<p>Scans for unreferenced code declarations.
792792
- <strong>Parameters</strong>:
793793
- <code>exclude_decorated_with</code> (array of strings, optional): Excludes functions carrying specified decorator annotations (e.g., <code>@app.route</code>, or <code>Composable</code> for Kotlin). Matching is by substring, so <code>Preview</code> matches <code>@Preview(showBackground = true)</code>.
794-
- <code>repo_path</code> (string, optional): Restricts search scope.</p>
794+
- <code>repo_path</code> (string, optional): Restricts search scope.
795+
- For Android codebases, <code>ANDROID_DECORATOR_PRESET</code> (<code>codegraphcontext.tools.code_finder.ANDROID_DECORATOR_PRESET</code>) is a preset tuple of Compose/JUnit/Hilt/Room/tooling annotation names to pass as <code>exclude_decorated_with</code>. Same substring matching applies.</p>
795796
<hr />
796797
<h2 id="workspace-context-management">Workspace Context Management</h2>
797798
<h3 id="discover_codegraph_contexts"><code>discover_codegraph_contexts</code></h3>

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)