submit_edit
Commit an inspected Cosense edit preview to apply a prepared change. Confirm the preview matches the original write request, and verify ambiguous outcomes with read_page before retrying.
Instructions
Commit one inspected Cosense edit preview. This mutates Cosense. Call it only for the same explicit user write request that produced the preview. Never retry an ambiguous result before read_page confirms whether the intended change already landed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview_id | Yes | ||
| project_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| warnings | No |