Configure Headless JavaFX
fix_javafx_headlessDetect and explain headless JavaFX problems, then generate the configuration needed to fix them. Run a dry run by default or apply the change.
Instructions
Detect and explain headless JavaFX problems and generate the required configuration.
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": "fix_javafx_headless"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | Write the change; default false performs a dry run | |
| mainClass | No | Optional main class name to target | |
| projectPath | No | Path to the project directory |