Edit mockup
edit-mockupEdit a mockup by exact-text replacement: old_string must match the mockup's markup exactly once (use get-mockup to read it). The whole markup re-validates after the edit — an edit that would make it invalid is rejected with the validator's errors and the mockup is unchanged. The result is a lean confirmation, never the full markup. Everyone viewing the mockup sees the change; call show-mockup once after a batch of edits when the user should see the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mockup | Yes | The mockup target (from create-mockup or get-mockup) | |
| new_string | Yes | The replacement text | |
| old_string | Yes | The exact text to replace (must match exactly once) |