block_code_mutate
Replace the body of an existing bound AST symbol with new code, then run a verify command to confirm the change. For targeted edits only; use the host editor for broader changes.
Instructions
Replace one already-bound AST symbol body. Not a general editor: new files, new symbols, tests, and multi-file edits should use the host editor, then source_sync and source_binding_accept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| blockId | Yes | ||
| newCode | Yes | ||
| projectRoot | No | ||
| taskContextId | No | ||
| verifyCommand | Yes | ||
| includeStructured | No | ||
| expectedSourceHash | No |