Write Local Working Copy File
litewrite_local_writeWrite or overwrite a file in a project's local mirror without network calls. Changes stay local until you push them to the server.
Instructions
Write or overwrite a file in the local mirror of a project (no network call).
Changes are NOT uploaded to Litewrite until you run litewrite_push.
Args:
projectId (string, required): The project id.
filePath (string, required): Relative path in the local copy.
content (string, required): The full text content to write.
Text files edited/created here will be uploaded by litewrite_push.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The full new content | |
| filePath | Yes | Relative path in the local copy | |
| projectId | Yes | The Litewrite project id |