project_apply_script_semantic_patch
Category: project
Apply checked intent-level Script Semantic Patch operations to an existing project script. Authoring operationId: script.semantic_patch.apply. Use when: Use neutral compositional operations such as findEntitiesByTag, forEachEntityInResult, despawnEntity, incrementNumericState, declareWinCondition, emitCustomEvent, spawnEntityFromTemplate, attachComponentWithValidatedDefaults, and wireHudStateBinding; compose gameplay loops from these primitives rather than a genre-named macro. Typed state/effect operations expose tags like readState, writeState, durable, spawnEntity, despawnEntity, emitEvent, and requiresAuthority in the generated Platform Catalog. Do not use when: Use project_create_script only for an empty IR-backed shell; behavior edits must use this tool. Do not send raw graph node ids, addNode, connectExec, connectData, setInlineValue, or addHostOperation through this normal MCP path; those are visual editor/import/test-only. Expected response time: sync <2s Token cost: low.
Output: JSON text content from the canonical service adapter.
Input schema
Expand to load the generated JSON schema.