|
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 line ranges, to pick a precise read_file range instead of reading the whole file.\n\nUse after lsp_java_findSymbol returns outlineInput/file, or when the user gave a Java file path; do not guess paths. Not for workspace-wide search\u2014use lsp_java_findSymbol for that. Do not re-call for the same file unless the first result was empty.", |
| 55 | + "modelDescription": "Get a known Java file's outline: classes, interfaces, methods, fields, symbol kinds, and line ranges, to pick a precise read_file 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. Not for workspace-wide search\u2014use lsp_java_findSymbol for that. Do not re-call for the same file unless the first result was empty.", |
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 outlineInput or 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. Prefer file returned by lsp_java_findSymbol. Must be a known path from prior tool results or user input — do not guess." |
73 | 73 | } |
74 | 74 | }, |
75 | 75 | "required": [ |
|
80 | 80 | { |
81 | 81 | "name": "lsp_java_findSymbol", |
82 | 82 | "toolReferenceName": "javaFindSymbol", |
83 | | - "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 outlineInput. On relevant results, do not repeat with a similar query; use read_file on the returned file/range, or lsp_java_getFileStructure with outlineInput 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.", |
| 83 | + "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, and range. On relevant results, do not repeat with a similar query; use read_file on the returned file/range, 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.", |
84 | 84 | "displayName": "Java: Find Symbol", |
85 | 85 | "userDescription": "Find Java class, method, field, or interface definitions by name.", |
86 | 86 | "tags": [ |
|
0 commit comments