vfx_shader_edit
Edit WGSL effect nodes by applying ordered exact text replacements to the latest version, with all-or-nothing validation and a returned new hash.
Instructions
Changes a node by exact text replacements, applied in order to the latest version, all or nothing. Each old must occur exactly once, or at least once with all: true. Answers the new hash and the verdict; the source is not echoed back.
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": {
"name": "<name>",
"edits": "<edits>"
},
"name": "vfx_shader_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Node name in the library, like ring/shock (letters, digits, _ and -) | |
| edits | Yes |