java_workspace_symbols
Find Java classes, interfaces, and methods across your entire workspace by providing a project path and search query.
Instructions
Search for classes, interfaces, and methods across the entire workspace.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspacePath": "<workspacePath>",
"query": "<query>"
},
"name": "java_workspace_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query (e.g., class name). | |
| workspacePath | Yes | Absolute path to the Java project root. |