link_project_to_cell
Links ANOTHER OrgGen project to a block of this project — without copying it. The block then shows a chip and lets you DIVE, INLINE on the canvas, into the linked project. Fits when a subject of this schema is handled in depth in a separate project (distinct rights and lifecycle): the content stays where it is, so its changes are visible here immediately, and its owner does not need access to this project. Requires access to the target — a role on the WHOLE project, OR a block shared with you (in this second case, the dive will show ONLY your shared subtree, not the rest of the target project). ⚠️ The INLINE dive opens FULL EDITING of the scene — moving a card (position), opening its configuration panel, modifying or deleting its content — as soon as you hold a real write right on the target (a role that writes, access NOT bounded to a block, no write lock set, link NOT pinned to a version); otherwise it is read-only and editing — position AS WELL AS content — requires opening that project directly (Ctrl/Cmd-click on the chip, or its URL). ⚠️ This is NOT create_nested_project, which CREATES a new, empty project before linking it: here the target project ALREADY exists, and nothing is created. The link can be FLOATING (follows the latest version of the target, the default behavior) or PINNED to a precise numbered version via pinnedVersionNumber — see that parameter. ⚠️ THIS LINK ONLY OPENS ACCESS TO THE OTHER COLLABORATORS OF THIS HOST (sharing cascade) when the caller holds a GOVERNING ROLE (owner or manager) on that host — otherwise it stays usable by the caller alone, and the response says so (cascadeEligible: false). A mere editor or a shared block is enough to set the link, and not to open it to everyone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | The label of the link, in the user's language, as it will be shown on the card (e.g. « Architecture cible AWS »). ⚠️ It is YOUR text, not the name of the target project copied over: the live name of the target is resolved at display time, and nothing about the target is stored here. | |
| cellId | Yes | The id of the block of THIS project that will carry the link. | |
| projectId | Yes | The UUID of the OrgGen project to link. READ access to that project is required: without it the link could not resolve for anyone, and the call is refused. It cannot be the current project. | |
| 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. | |
| pinnedVersionNumber | No | Pins the link to a numbered version of the target project, or leaves it FLOATING. OMITTED = current behavior, floating, no change. `null` = floating CHOSEN explicitly. An integer = pinned to THAT version — it must exist on the target side (checked), otherwise the call is refused and nothing is written. |