remove_entity_scripts
Remove a registered script from one or more entities to update or clean up their behavior in PlayCanvas.
Instructions
Remove a script from one or more entities.
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": {
"entityIds": "<entityIds>",
"script": "<script>"
},
"name": "remove_entity_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | Registered script name | |
| entityIds | Yes |