rename_document
Renames project documents by UUID or file name, creating a backup first and preventing overwrites unless explicitly allowed.
Instructions
Rename a document, by uuid or by an unambiguous file name. The content is re-created under the new name before the original is deleted, with local backups first, so nothing is lost midway. A new name already in use is refused unless overwrite=true, which replaces its holder (backed up first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | ||
| overwrite | No | ||
| project_id | Yes | ||
| new_file_name | Yes |