grease_pencil.add_stroke
blender_grease_pencil_add_strokeAdd a Grease Pencil stroke to a specified layer and frame, defining points, cyclic behavior, and material. Enables recoverable Blender edits through transaction-based safety.
Instructions
PartMe Blender Harness command grease_pencil.add_stroke. Risk: standard; maturity: L3. Requirements: Per-request argument checks and session policy still apply
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": {
"frame": "<frame>",
"layer": "<layer>",
"points": "<points>",
"_transactionId": "<_transactionId>"
},
"name": "blender_grease_pencil_add_stroke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| frame | Yes | ||
| layer | Yes | ||
| cyclic | No | ||
| points | Yes | ||
| objectId | No | ||
| _requestId | No | Stable request id for replay safety | |
| materialIndex | No | ||
| _authorization | No | Action-bound Harness authorization claim | |
| _transactionId | Yes | Harness milestone transaction id | |
| _expectedSceneRevision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||