clone_cell
Duplicates a block with all its contentBlocks (and kindMetadata for arch/process/journey/captable, and the fields/source for entity/data-source) under a new parent. Structural dependency auto-created only for blocks with kind='org'. The children and assignments are NOT cloned. The link to a linked project (projectLink) is NOT copied either — a project link stays an explicit action (link_project_to_cell), and not a side effect of cloning. A child is cloned by its own clone_cell call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newId | Yes | Unique ID for the new block | |
| newName | No | New name (default: `Copie de {name}`, in French) | |
| sourceId | Yes | ID of the block to duplicate | |
| newParentId | No | ID of the parent for the copy (default: same parent as the source) | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. | |
| confirmRootPlacement | No | ⚠️ Required (true) ONLY if the project has locked its root placement (Settings) AND the clone is born WITHOUT a parent (newParentId omitted with a root source, or newParentId explicitly null): without it, the creation of this NEW root is refused. Not applicable if the root placement is not locked, or if an actual newParentId applies. |