create_gp_stroke
Create a Grease Pencil stroke from a list of points, specifying coordinates, pressure, and strength for each vertex.
Instructions
Create a stroke from point list. Each point: {co: [x,y,z], pressure: float, strength: float}.
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": {
"object": "<object>",
"layer": "<layer>",
"points": "<points>"
},
"name": "create_gp_stroke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| layer | Yes | ||
| object | Yes | ||
| points | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||