write_document
Create or replace documents in Claude projects, with automatic backup of previous content and optional concurrency control using expected UUIDs to prevent overwriting teammates' changes.
Instructions
Create a document, or replace one with overwrite=true. The previous content is backed up locally before any replacement. Pass expected_uuid (from read_document) to refuse the write if a teammate has saved since you read it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| file_name | Yes | ||
| overwrite | No | ||
| project_id | Yes | ||
| expected_uuid | No |