edit
Replaces an exact text snippet in an Overleaf project, then compiles the document. Reverts the change if compilation fails, ensuring the project remains valid.
Instructions
Replace an exact snippet, then compile and push. old must appear exactly
once. Reverts if the result does not compile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | ||
| old | Yes | ||
| path | Yes | ||
| message | Yes | ||
| project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |