Write project file
update_project_fileCreate or replace a document in one of the user's letX projects: if the path exists its content is replaced (a version snapshot is saved first, so the change can be undone from letX's history); if it doesn't exist the file is created. Prefer reading the file first and preserving everything the user didn't ask to change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | document path, e.g. main.tex or chapters/intro.tex; created if it doesn't exist | |
| content | Yes | the FULL new content of the document (it replaces the current content) | |
| project_id | Yes | project id from list_projects |