Patch App File
patch_app_filePatch one file by replacing exact text. Safer than full overwrite for targeted edits. Creates a Saved Version before changing content. Paths follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Virtual file path | |
| app_id | Yes | The app ID | |
| new_text | Yes | Replacement text | |
| old_text | Yes | Exact existing text to replace | |
| replace_all | No | Replace all matches instead of the first match |