Create Canvas
javafx_init_canvasCreate an off-screen JavaFX canvas with specified width and height to enable headless rendering and image generation.
Instructions
Create an off-screen JavaFX canvas with the given width and height.
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": "javafx_init_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Canvas width in pixels (default: 800) | |
| height | No | Canvas height in pixels (default: 600) |