Java Restart
java_restartRestart the current Java language server session to refresh indexing and diagnostics. Clear cache only when explicitly requested.
Instructions
Restart the current JDT LS session; clear cache only when explicitly requested.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "java_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| repoRoot | No | ||
| clearCache | No |