|
52 | 52 | { |
53 | 53 | "name": "lsp_java_getFileStructure", |
54 | 54 | "toolReferenceName": "javaFileStructure", |
55 | | - "modelDescription": "Get a known Java file's outline: classes, interfaces, methods, fields, symbol kinds, and read_file ranges, to pick a precise source range instead of reading the whole file.\n\nUse when the user gave a Java file path or lsp_java_findSymbol returned a file and broader file context is needed; do not guess paths. Results include a top-level file plus per-symbol startLine, endLine, and readFileRange ({ offset, limit }); call read_file with filePath=file and the selected symbol's readFileRange. Use limit to cap returned outline items (default 20, max 60). Not for workspace-wide search\u2014use lsp_java_findSymbol for that.", |
| 55 | + "modelDescription": "Outline a known Java file (classes, methods, fields with line ranges) to pick a precise read_file range instead of reading the whole file. Needs a path from lsp_java_findSymbol or the user — do not guess. Returns file plus per-symbol readFileRange ({ offset, limit }) for read_file. Use limit to cap outline items (default 20, max 60). Not for workspace search (use lsp_java_findSymbol).", |
56 | 56 | "displayName": "Java: Get File Structure", |
57 | 57 | "userDescription": "Get a Java file outline with classes, methods, fields, and line ranges.", |
58 | 58 | "tags": [ |
|
69 | 69 | "properties": { |
70 | 70 | "uri": { |
71 | 71 | "type": "string", |
72 | | - "description": "Workspace-relative path to a Java file. Prefer file returned by lsp_java_findSymbol. Must be a known path from prior tool results or user input — do not guess." |
| 72 | + "description": "Workspace-relative path to a Java file, from lsp_java_findSymbol or user input — do not guess." |
73 | 73 | }, |
74 | 74 | "limit": { |
75 | 75 | "type": "number", |
|
84 | 84 | { |
85 | 85 | "name": "lsp_java_findSymbol", |
86 | 86 | "toolReferenceName": "javaFindSymbol", |
87 | | - "modelDescription": "Find Java class, interface, method, or field definitions across the workspace by name or partial identifier. Prefer over grep_search, file_search, semantic_search, or search subagents for Java symbol lookup.\n\nResults include file, startLine, endLine, range, and readFileInput ({ filePath, offset, limit }) compatible with read_file. On relevant results, use read_file with readFileInput when source is needed, or lsp_java_getFileStructure with the returned file when broader file context is needed. The tool retries internally, so on an empty result do not re-search\u2014retry once only if it reports indexing in progress, otherwise use generic search.\n\nDo not use for non-Java files, literals, comments, build/XML files, or conceptual exploration.", |
| 87 | + "modelDescription": "Find Java class/interface/method/field definitions across the workspace by name or partial identifier. Prefer over grep_search, file_search, or semantic_search for Java symbol lookup. Each result has file and readFileInput ({ filePath, offset, limit }) for read_file; use it when source is needed, or lsp_java_getFileStructure with file for broader context. On empty results don't re-search (it retries internally); retry once only if it reports indexing in progress, else use generic search. Not for non-Java files, literals, comments, or build/XML files.", |
88 | 88 | "displayName": "Java: Find Symbol", |
89 | 89 | "userDescription": "Find Java class, method, field, or interface definitions by name.", |
90 | 90 | "tags": [ |
|
0 commit comments