mesh_weights_set
Replaces existing mesh vertex bindings' weights, normalizes and sorts them, and retains bind x/y for Spine 4.3 mesh weight updates.
Instructions
NEW job: updates=[{vertex:0,weights:{bone:1}}]. Replace existing bindings' weights, normalize/sort; retain bind x/y. Spine 4.3 only; no deform/linked meshes. Does not preserve pose.
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": {
"job_id": "<job_id>",
"skin": "<skin>",
"slot": "<slot>",
"attachment": "<attachment>",
"updates": "<updates>"
},
"name": "mesh_weights_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skin | Yes | ||
| slot | Yes | ||
| job_id | Yes | ||
| updates | Yes | ||
| attachment | Yes |