set_morph_target
Set a morph target influence in a live Three.js scene to preview shape or facial animation. The change affects the browser only, is tracked as pending code edits, and can be undone.
Instructions
[LIVE PREVIEW] Changes the scene in the browser only — NOT saved to source code, lost on reload. Recorded in pending_changes (→ code edits) and undoable with revert_changes. Set a morph target influence.
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": {
"influence": "<influence>"
},
"name": "set_morph_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Mesh name | |
| uuid | No | Mesh UUID | |
| index | No | Morph target index | |
| influence | Yes | 0-1 | |
| targetName | No | Morph target name (from morphTargetDictionary) |