Documentation
README
Assets / Modify
Three modification surfaces
Use whichever fits the task:
content— fullSerializedMemberoverride (legacy, backwards compatible).pathPatches— list of{path, value}pairs routed throughReflector.TryModifyAt.jsonPatch— JSON Merge Patch routed throughReflector.TryPatch.
When more than one is supplied they run in this order: jsonPatch → pathPatches → content. At least one is required.
Path syntax
fieldName, nested/field, arrayField/[i], dictField/[key]. Leading #/ is stripped.
How to Call
unity-mcp-cli run-tool assets-modify --input '{
"assetRef": "string_value",
"content": "string_value",
"pathPatches": "string_value",
"jsonPatch": "string_value"
}'
This is the opening of the README. Read the full README on GitHub.