Register effect on an entity
attach_to_entityAdds a particle effect to a client entity's particle_effects with a short name so animations and controllers can fire it. Proposes a change set that preserves comments and formatting.
Instructions
Add the effect to a client entity's particle_effects with a short name, so animations and animation controllers can fire it. Proposes a change set (comments and formatting are kept).
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": {
"entity": "<entity>",
"effect": "<effect>"
},
"name": "attach_to_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | No | ||
| effect | Yes | particle identifier | |
| entity | Yes | client entity identifier or file | |
| short_name | No |