cocos_remove_post_build_patches
Remove post-build patches from Cocos Creator projects by index list or platform/file filters to clean up build configurations.
Instructions
Remove patches by index list OR by platform/file filter.
indices takes precedence; otherwise AND of platform+file filters.
Calling with all None is a no-op (explicit wipe requires
cocos_register_post_build_patch([], mode='replace')).
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": {
"project_path": "<project_path>"
},
"name": "cocos_remove_post_build_patches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| indices | No | ||
| platform | No | ||
| file | No |