scene_adapter_set_tool
Sets or verifies exactly one supported current-owner 2D tool action—transform pattern, pattern edit, or edit curve point—in a Marvelous Designer scene.
Instructions
Set exactly one of three fixed current-owner 2D tool actions, or verify already-current.
At most one QAction trigger; no arbitrary name, input or implicit model write verification.
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": {
"view_ref": "<view_ref>",
"view_fingerprint": "<view_fingerprint>",
"tool": "<tool>",
"scene_token": "<scene_token>",
"request_id": "<request_id>"
},
"name": "scene_adapter_set_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| view_ref | Yes | ||
| budget_ms | No | ||
| request_id | Yes | ||
| scene_token | Yes | ||
| view_fingerprint | Yes |