design_generate_field_from_points
Creates a VectorField from control points via RBF interpolation, returning JSON for use as a painting layer's field property.
Instructions
Generate a VectorField from agent-specified control points using RBF interpolation. Each control point defines a flow direction and magnitude at a canvas position. Returns the VectorField as a JSON string suitable for use as a painting layer's 'field' property.
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": {
"canvasWidth": "<canvasWidth>",
"canvasHeight": "<canvasHeight>",
"controlPoints": "<controlPoints>"
},
"name": "design_generate_field_from_points"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | Field grid columns (default: 20). | |
| rows | No | Field grid rows (default: 20). | |
| canvasWidth | Yes | Canvas width in pixels. | |
| canvasHeight | Yes | Canvas height in pixels. | |
| controlPoints | Yes | Array of control points defining flow direction and magnitude. |