Parameters
Absolute path of the file to edit.
A single sentence written in the first person describing what you’re changing. Used to help disambiguate uncertainty in the edit.
Specify ONLY the precise lines of code that you wish to edit. Use // … existing code … for unchanged sections.
Optional fleet device name or id. When set, edits the file inside that running device’s container instead of the host. The device must be started first. Requires the ‘devices:manage’ scope.
Optional Zo App slug or id. When set, edits the file inside that Zo App’s sandbox instead of the host (the app server is /zo-app/server.ts; private/user data goes under /user-data so the app stays cleanly shareable). Mutually exclusive with ‘device’. Requires the ‘apps:shell’ scope.