Set Canvas Color
javafx_set_colorSet the fill or stroke color for canvas drawing operations using a color name or hex value. Applies the chosen color to subsequent JavaFX draw calls.
Instructions
Set the current fill or stroke color used by canvas drawing operations.
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": {
"color": "<color>"
},
"name": "javafx_set_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | Color name or hex |