studio_edit_file
Replace one exact piece of text in a file of the open page. old_text must appear exactly once in the file: copy it from studio_read_file, without the line numbers, and include enough surrounding lines to make it unique. Nothing is saved before studio_save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | One of the page's four files. | |
| new_text | Yes | ||
| old_text | Yes | ||
| session_id | Yes | The session_id studio_open_page returned. |